package com.sg.service.biz.app.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.base.app.req.*;
import com.sg.dto.biz.app.req.*;
import com.sg.dto.biz.app.res.*;
import com.sg.dto.integration.component.GenerateTimeCycleEtcSemanticInstanceComReqDto;
import com.sg.dto.integration.component.GenerateTimeCycleEtcSemanticInstanceComRespDto;
import com.sg.service.base.app.*;
import com.sg.service.biz.app.BatchService;
import com.sg.service.biz.app.EvaSystemService;
import com.sg.common.exception.Assert;
import com.wicket.okrapp.common.exception.BizException;
import com.wicket.okrapp.dal.po.mbg.*;
import com.wicket.okrcomponent.integration.TemplateEngineService;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class ChangeColumnServiceImpl implements com.wicket.okrapp.biz.service.ChangeColumnService {
    @Resource
    private RedisUtil redisUtil;
    //@Resource
    //private MCustomFields2Service mCustomFields2Service;
    @Resource
    private MOmsBasicInstanceChangeColumnService mOmsBasicInstanceChangeColumnService;
    @Resource
    private NbChangeColumn nbChangeColumn;
    @Resource
    private MOmsTargetObjectiveService mOmsTargetObjectiveService;
    @Resource
    private MOmsEvaluationTemplateService mOmsEvaluationTemplateService;
    @Resource
    private MOmsTargetObjectivePlanExtendService mOmsTargetObjectivePlanExtendService;
    @Resource
    private MOmsVirtualOrgMemberDeptService mOmsVirtualOrgMemberDeptService;
    @Resource
    private MOmsRealTimeSchedulingOperationRecordService mOmsRealTimeSchedulingOperationRecordService;
    @Resource
    private BatchService batchService;
    @Resource
    private EvaSystemService evaSystemService;
    @Resource
    private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
    @Resource
    private TemplateEngineService fwCompTemplateEngineClient;
    @Resource
    private MOmsTargetCategoryService mOmsTargetCategoryService;
    @Resource
    private MOmsEvaObjTargetCycleWeightSetService mOmsEvaObjTargetCycleWeightSetService;
    @Resource
    private MOmsEvaBatchRelatedSetService mOmsEvaBatchRelatedSetService;
//@Resource
    //private undefinedService undefinedService;

    /**
     * D3-13新增业务应用变更字段(公共)[3885]
     * gen by moon at 3/6/2023, 9:55:38 AM
     */
    @Trace(operationName = "D3-13新增业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddBizAppChangeColComRespDto addBizAppChangeColCom(AddBizAppChangeColComReqDto reqDto) {


        String string_1 = null;
        String string_3 = null;
//virtualUsage M1-本次新增变更字段语义故事  15958
        //ModelCode: generateSemanticInstance
        GenerateSemanticContentRespDto generateSemanticInstanceRes = null;
        GenerateSemanticContentReqDto generateSemanticInstanceReq = new GenerateSemanticContentReqDto();
        if (reqDto != null) {
            generateSemanticInstanceReq.setAddBehaviorName(reqDto.getObjectPropertyName());//SimpleFieldAssign//sourceId:313645_1_15958
            generateSemanticInstanceReq.setAddSubjectContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:313646_1_15958
            generateSemanticInstanceReq.setSubjectContAffiliationParentCont(reqDto.getSubjectContAffiliationParentCont());//SimpleFieldAssign//sourceId:313644_1_15958
        }

        /*M1-本次新增变更字段语义故事[2391]  解析语义模板，生成模板实例 */
        Assert.isNull(generateSemanticInstanceReq.getAddBehaviorName(), "D3-13新增业务应用变更字段(公共)-M1-本次新增变更字段语义故事-新增行为名称不能为空", false);
        Assert.isNull(generateSemanticInstanceReq.getAddSubjectContent(), "D3-13新增业务应用变更字段(公共)-M1-本次新增变更字段语义故事-新增主体内容不能为空", false);
        generateSemanticInstanceRes = nbChangeColumn.generateSemanticContent(generateSemanticInstanceReq);


//virtualUsage M3-获取接收批次现状字段  13015
        //ModelCode: receptionService
        ObtainReceiveFieldRespDto receptionServiceRes = null;
        ObtainReceiveFieldReqDto receptionServiceReq = new ObtainReceiveFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:202756_1_13015
        }

        /*M3-获取接收批次现状字段[2451]  用于特殊方法接收上游入参。 */

        receptionServiceRes = nbChangeColumn.obtainReceiveField(receptionServiceReq);


        if ((reqDto != null && reqDto.getBatchCurrentStatus() != null && reqDto.getBatchCurrentStatus().equals("1") || reqDto != null && reqDto.getBatchCurrentStatus() != null && reqDto.getBatchCurrentStatus().equals("2")) && (reqDto != null && reqDto.getBatchCode() != null)) {
            //if((D3-13新增业务应用变更字段(公共).批次现状 等于 1 or D3-13新增业务应用变更字段(公共).批次现状 等于 2) and D3-13新增业务应用变更字段(公共).批次标识 值不等于空 )  13016

            String string = null;
            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = new OmsBasicInstanceChangeColumn();
            omsBasicInstanceChangeColumn.setIsInproperties("FALSE");//sourceId:195704_1_13017
            omsBasicInstanceChangeColumn.setSubjectUpdateStatus("NEW");//sourceId:195709_1_13017
            omsBasicInstanceChangeColumn.setBatchStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:195711_1_13017
            omsBasicInstanceChangeColumn.setBatchEndTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:195712_1_13017
            omsBasicInstanceChangeColumn.setIsEditing("TRUE");//sourceId:195713_1_13017
            omsBasicInstanceChangeColumn.setSubjectLifeCycle("EDITING");//sourceId:195714_1_13017
            if (reqDto != null) {
                omsBasicInstanceChangeColumn.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:195696_1_13017
                omsBasicInstanceChangeColumn.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:195697_1_13017
                omsBasicInstanceChangeColumn.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:195698_1_13017
                omsBasicInstanceChangeColumn.setObjectPropertyCode(reqDto.getObjectPropertyCode());//SimpleFieldAssign//sourceId:195699_1_13017
                omsBasicInstanceChangeColumn.setMetaDataColumnContent(reqDto.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:195701_1_13017
                omsBasicInstanceChangeColumn.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:195727_1_13017
                omsBasicInstanceChangeColumn.setOriColumnContent(reqDto.getOriColumnContent());//SimpleFieldAssign//sourceId:195728_1_13017
                omsBasicInstanceChangeColumn.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:195705_1_13017
                omsBasicInstanceChangeColumn.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:195706_1_13017
                omsBasicInstanceChangeColumn.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:195707_1_13017
                omsBasicInstanceChangeColumn.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:195708_1_13017
                omsBasicInstanceChangeColumn.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:195710_1_13017
            }
            if (generateSemanticInstanceRes != null) {
                omsBasicInstanceChangeColumn.setObjectPropertyName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:195700_1_13017
            }

            /*3-13-02新增业务应用变更字段（有批次）[3892]   */
            Assert.isNull(omsBasicInstanceChangeColumn.getTableTypeCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-内容表类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getEntityName(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-内容表主键字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getEntityId(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-内容表主键ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-变更字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyName(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-变更字段行为日志名称不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getMetaDataColumnContent(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-变更字段原始值不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getColumnContent(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-变更后字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getOriColumnContent(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-变更前字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getIsInproperties(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-是否内部属性不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectTypeCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-主体类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectChangeType(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-主体变更日志类型不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectTypeCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-归属对象类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectId(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-归属对象内容ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectUpdateStatus(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-主体批次下更新状态不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getBatchStartTime(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-批次开始时间不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getBatchEndTime(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-批次结束时间不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getIsEditing(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-是否未来不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectLifeCycle(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（有批次）-主体生命周期不能为空", false);
            string = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn);


            string_1 = string;
//processBranchName:正常结束 ,processBranchId:13018

        } else if ((reqDto != null && reqDto.getBatchCode() == null)) {
            //elseif(D3-13新增业务应用变更字段(公共).批次标识 值等于空 )  13166

            String string_2 = null;
            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_1 = new OmsBasicInstanceChangeColumn();
            omsBasicInstanceChangeColumn_1.setIsInproperties("FALSE");//sourceId:208968_1_13167
            omsBasicInstanceChangeColumn_1.setSubjectUpdateStatus("NEW");//sourceId:208967_1_13167
            omsBasicInstanceChangeColumn_1.setSubjectLifeCycle("EDITING");//sourceId:208966_1_13167
            if (reqDto != null) {
                omsBasicInstanceChangeColumn_1.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:208950_1_13167
                omsBasicInstanceChangeColumn_1.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:208959_1_13167
                omsBasicInstanceChangeColumn_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:208951_1_13167
                omsBasicInstanceChangeColumn_1.setObjectPropertyCode(reqDto.getObjectPropertyCode());//SimpleFieldAssign//sourceId:208952_1_13167
                omsBasicInstanceChangeColumn_1.setMetaDataColumnContent(reqDto.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:208954_1_13167
                omsBasicInstanceChangeColumn_1.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:208956_1_13167
                omsBasicInstanceChangeColumn_1.setOriColumnContent(reqDto.getOriColumnContent());//SimpleFieldAssign//sourceId:208955_1_13167
                omsBasicInstanceChangeColumn_1.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:208957_1_13167
                omsBasicInstanceChangeColumn_1.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:208958_1_13167
                omsBasicInstanceChangeColumn_1.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:208961_1_13167
                omsBasicInstanceChangeColumn_1.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:208960_1_13167
            }
            if (generateSemanticInstanceRes != null) {
                omsBasicInstanceChangeColumn_1.setObjectPropertyName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:208953_1_13167
            }

            /*3-13-02新增业务应用变更字段（无批次）[3892]   */
            Assert.isNull(omsBasicInstanceChangeColumn_1.getTableTypeCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-内容表类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getEntityName(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-内容表主键字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getEntityId(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-内容表主键ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectPropertyCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-变更字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectPropertyName(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-变更字段行为日志名称不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getMetaDataColumnContent(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-变更字段原始值不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getColumnContent(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-变更后字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getOriColumnContent(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-变更前字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getIsInproperties(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-是否内部属性不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectTypeCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-主体类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectChangeType(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-主体变更日志类型不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectTypeCode(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-归属对象类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectId(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-归属对象内容ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectUpdateStatus(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-主体批次下更新状态不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectLifeCycle(), "D3-13新增业务应用变更字段(公共)-3-13-02新增业务应用变更字段（无批次）-主体生命周期不能为空", false);
            string_2 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_1);


            string_3 = string_2;
//processBranchName:正常结束 ,processBranchId:13168

        }
        AddBizAppChangeColComRespDto retData = new AddBizAppChangeColComRespDto();
        if (string_1 != null) {
            retData.setChangeColumnId(string_1);//SimpleFieldAssign//sourceId:421446_1
        }
        if (string_3 != null) {
            retData.setChangeColumnId(string_3);//SimpleFieldAssign//sourceId:421446_1
        }


        return retData;
    }

    /**
     * D3执行变更字段评价模板删除批次处理(公共)[3611]
     * gen by moon at 5/8/2023, 6:28:14 AM
     */
    @Trace(operationName = "D3执行变更字段评价模板删除批次处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementChangeColEvaDeleteBatchComRespDto implementChangeColEvaDeleteBatchCom(ImplementChangeColEvaDeleteBatchComReqDto reqDto) {


        //步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setSubjectLifeCycle("EDITING");//sourceId:320741_1
        if (reqDto != null) {
            queryBizAppChangeColListReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:176345_1
            queryBizAppChangeColListReq.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:176346_1
            queryBizAppChangeColListReq.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:162155_1
        }

        /*3-13-02查询正在编辑业务应用变更字段[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getObjectId(), "D3执行变更字段评价模板删除批次处理(公共)-3-13-02查询正在编辑业务应用变更字段-归属对象内容ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getObjectTypeCode(), "D3执行变更字段评价模板删除批次处理(公共)-3-13-02查询正在编辑业务应用变更字段-归属对象类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getBatchCode(), "D3执行变更字段评价模板删除批次处理(公共)-3-13-02查询正在编辑业务应用变更字段-批次标识不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3执行变更字段评价模板删除批次处理(公共)-3-13-02查询正在编辑业务应用变更字段-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 3-13-02批量删业务应用变更字段 - batchDeleteBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<String> listString = new ArrayList<>();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                listString = listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                        .collect(Collectors.toList());/*list-to-strings*///sourceId:162151_1
            }

            /*3-13-02批量删业务应用变更字段[3614]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchDeleteBizAppChangeCol(listString)/*vcase invoke 本地 method 方法调用;*/;


        }

        ImplementChangeColEvaDeleteBatchComRespDto retData = new ImplementChangeColEvaDeleteBatchComRespDto();


        return retData;
    }

    /**
     * D3执行变更字段评价模板发布批次处理(公共)[3608]
     * gen by moon at 6/1/2023, 2:38:13 AM
     */
    @Trace(operationName = "D3执行变更字段评价模板发布批次处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementChangeColEvaPublishBatchComRespDto implementChangeColEvaPublishBatchCom(ImplementChangeColEvaPublishBatchComReqDto reqDto) {


        //步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setSubjectLifeCycle("EDITING");//sourceId:320704_1
        if (reqDto != null) {
            queryBizAppChangeColListReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:176367_1
            queryBizAppChangeColListReq.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:176368_1
            queryBizAppChangeColListReq.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:162159_1
        }

        /*3-13-02查询正在编辑业务应用变更字段列表（用于发布生效）[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getObjectId(), "D3执行变更字段评价模板发布批次处理(公共)-3-13-02查询正在编辑业务应用变更字段列表（用于发布生效）-归属对象内容ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getObjectTypeCode(), "D3执行变更字段评价模板发布批次处理(公共)-3-13-02查询正在编辑业务应用变更字段列表（用于发布生效）-归属对象类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getBatchCode(), "D3执行变更字段评价模板发布批次处理(公共)-3-13-02查询正在编辑业务应用变更字段列表（用于发布生效）-批次标识不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3执行变更字段评价模板发布批次处理(公共)-3-13-02查询正在编辑业务应用变更字段列表（用于发布生效）-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 3-13-02批量改业务应用变更字段 - batchUpdateBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn_2 = new ArrayList<>();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                listOmsBasicInstanceChangeColumn_2 = listOmsBasicInstanceChangeColumn.stream().map(item -> {
                    OmsBasicInstanceChangeColumn elm = BeanUtil.toBean(item, OmsBasicInstanceChangeColumn.class);
                    elm.setBatchStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME
                    elm.setBatchEndTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME
                    elm.setIsEditing("FALSE");
                    elm.setIsArchive("FALSE");
                    elm.setArchivngType("NOT_ARCHIVE");
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");
                    elm.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID
                    elm.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:162095_1
            }

            /*3-13-02批量改业务应用变更字段当前有效[3610]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchUpdateBizAppChangeCol(listOmsBasicInstanceChangeColumn_2)/*vcase invoke 本地 method 方法调用;*/;


        }

//步骤2: D3批量回写业务应用变更字段(公共) - batchWriteBackBizAppChangeColCom
        BatchWriteBackBizAppChangeColComRespDto batchWriteBackBizAppChangeColComRespDto = null;
        BatchWriteBackBizAppChangeColComReqDto batchWriteBackBizAppChangeColComReqDto = new BatchWriteBackBizAppChangeColComReqDto();
        batchWriteBackBizAppChangeColComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:320710_1
        if (reqDto != null) {
            batchWriteBackBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:320705_1
            batchWriteBackBizAppChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:320708_1
            batchWriteBackBizAppChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:320709_1
        }

        /*D3批量回写业务应用变更字段(公共)[4506]   */
        Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getBatchCode(), "D3执行变更字段评价模板发布批次处理(公共)-D3批量回写业务应用变更字段(公共)-批次标识不能为空", false);
        Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getObjectTypeCode(), "D3执行变更字段评价模板发布批次处理(公共)-D3批量回写业务应用变更字段(公共)-归属对象类型编码不能为空", false);
        Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getObjectId(), "D3执行变更字段评价模板发布批次处理(公共)-D3批量回写业务应用变更字段(公共)-归属对象内容ID不能为空", false);
        Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getSubjectLifeCycle(), "D3执行变更字段评价模板发布批次处理(公共)-D3批量回写业务应用变更字段(公共)-主体生命周期不能为空", false);
        batchWriteBackBizAppChangeColComRespDto = batchWriteBackBizAppChangeColCom(batchWriteBackBizAppChangeColComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤3: D3批量回写指标简称名称(公共) - batchWriteBackTargetShortNameCom
        BatchWriteBackTargetShortNameComRespDto batchWriteBackTargetShortNameComRespDto = null;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            BatchWriteBackTargetShortNameComReqDto batchWriteBackTargetShortNameComReqDto = new BatchWriteBackTargetShortNameComReqDto();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                batchWriteBackTargetShortNameComReqDto.setBizAppChangeColList(listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:439567_1
            }
            if (reqDto != null) {
                batchWriteBackTargetShortNameComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:439568_1
            }

            /*D3批量回写指标简称名称(公共)[5202]   */
            Assert.isNull(batchWriteBackTargetShortNameComReqDto.getObjectId(), "D3执行变更字段评价模板发布批次处理(公共)-D3批量回写指标简称名称(公共)-评价模板ID不能为空", false);
            batchWriteBackTargetShortNameComRespDto = evaSystemService.batchWriteBackTargetShortNameCom(batchWriteBackTargetShortNameComReqDto)/*vcase invoke isSameApp*/;


        }

        ImplementChangeColEvaPublishBatchComRespDto retData = new ImplementChangeColEvaPublishBatchComRespDto();


        return retData;
    }

    /**
     * D3-13存档业务应用变更字段(公共)[3887]
     * gen by moon at 11/1/2023, 9:28:07 PM
     */
    @Trace(operationName = "D3-13存档业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ArchiveBizAppChangeColComRespDto archiveBizAppChangeColCom(ArchiveBizAppChangeColComReqDto reqDto) {


        String string_1 = null;
        //virtualUsage M3-获取接收批次现状字段  13143
        //ModelCode: receptionService
        ObtainReceiveFieldRespDto receptionServiceRes = null;
        ObtainReceiveFieldReqDto receptionServiceReq = new ObtainReceiveFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:207931_1_13143
            receptionServiceReq.setSubjectContAffiliationParentCont(reqDto.getSubjectContAffiliationParentCont());//SimpleFieldAssign//sourceId:314875_1_13143
        }

        /*M3-获取接收批次现状字段[2451]  用于特殊方法接收上游入参。 */

        receptionServiceRes = nbChangeColumn.obtainReceiveField(receptionServiceReq);


//virtualUsage M1-构造存档日志故事  15982
        //ModelCode: generateSemanticInstance
        GenerateSemanticContentRespDto generateSemanticInstanceRes = null;
        GenerateSemanticContentReqDto generateSemanticInstanceReq = new GenerateSemanticContentReqDto();
        if (reqDto != null) {
            generateSemanticInstanceReq.setArchiveBehaviorName(reqDto.getObjectPropertyName());//SimpleFieldAssign//sourceId:314873_1_15982
            generateSemanticInstanceReq.setArchiveSubjectContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:314872_1_15982
            generateSemanticInstanceReq.setSubjectContAffiliationParentCont(reqDto.getSubjectContAffiliationParentCont());//SimpleFieldAssign//sourceId:314871_1_15982
        }

        /*M1-构造存档日志故事[2391]  解析语义模板，生成模板实例 */
        Assert.isNull(generateSemanticInstanceReq.getArchiveBehaviorName(), "D3-13存档业务应用变更字段(公共)-M1-构造存档日志故事-存档行为名称不能为空", false);
        Assert.isNull(generateSemanticInstanceReq.getArchiveSubjectContent(), "D3-13存档业务应用变更字段(公共)-M1-构造存档日志故事-存档主体内容不能为空", false);
        generateSemanticInstanceRes = nbChangeColumn.generateSemanticContent(generateSemanticInstanceReq);


        if ((reqDto != null && reqDto.getBatchCode() != null && reqDto != null && reqDto.getBatchCurrentStatus() != null && reqDto.getBatchCurrentStatus().equals("2"))) {
            //if((D3-13存档业务应用变更字段(公共).批次标识 值不等于空  and D3-13存档业务应用变更字段(公共).批次现状 等于 2))  13144

            String string = null;
            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = new OmsBasicInstanceChangeColumn();
            omsBasicInstanceChangeColumn.setIsInproperties("FALSE");//sourceId:195783_1_13145
            omsBasicInstanceChangeColumn.setSubjectUpdateStatus("ARCHIVE");//sourceId:195782_1_13145
            omsBasicInstanceChangeColumn.setBatchEndTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:195779_1_13145
            omsBasicInstanceChangeColumn.setIsEditing("TRUE");//sourceId:195780_1_13145
            omsBasicInstanceChangeColumn.setSubjectLifeCycle("EDITING");//sourceId:195781_1_13145
            if (reqDto != null) {
                omsBasicInstanceChangeColumn.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:195765_1_13145
                omsBasicInstanceChangeColumn.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:195774_1_13145
                omsBasicInstanceChangeColumn.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:195766_1_13145
                omsBasicInstanceChangeColumn.setObjectPropertyCode(reqDto.getObjectPropertyCode());//SimpleFieldAssign//sourceId:195767_1_13145
                omsBasicInstanceChangeColumn.setMetaDataColumnContent(reqDto.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:195769_1_13145
                omsBasicInstanceChangeColumn.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:195771_1_13145
                omsBasicInstanceChangeColumn.setOriColumnContent(reqDto.getOriColumnContent());//SimpleFieldAssign//sourceId:195770_1_13145
                omsBasicInstanceChangeColumn.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:195772_1_13145
                omsBasicInstanceChangeColumn.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:195773_1_13145
                omsBasicInstanceChangeColumn.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:195776_1_13145
                omsBasicInstanceChangeColumn.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:195775_1_13145
                omsBasicInstanceChangeColumn.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:195777_1_13145
            }
            if (generateSemanticInstanceRes != null) {
                omsBasicInstanceChangeColumn.setObjectPropertyName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:195768_1_13145
            }

            /*3-13-02新增业务应用变更字段（用于想存档日志）[3892]   */
            Assert.isNull(omsBasicInstanceChangeColumn.getTableTypeCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-内容表类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getEntityName(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-内容表主键字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getEntityId(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-内容表主键ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-变更字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyName(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-变更字段行为日志名称不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getMetaDataColumnContent(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-变更字段原始值不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getColumnContent(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-变更后字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getOriColumnContent(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-变更前字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getIsInproperties(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-是否内部属性不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectTypeCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-主体类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectChangeType(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-主体变更日志类型不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectTypeCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-归属对象类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getObjectId(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-归属对象内容ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectUpdateStatus(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-主体批次下更新状态不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getBatchEndTime(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-批次结束时间不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getIsEditing(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-是否未来不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectLifeCycle(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（用于想存档日志）-主体生命周期不能为空", false);
            string = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn)/*vcase invoke 本地 method 方法调用;*/;


            string_1 = string;
//processBranchName:正常结束 ,processBranchId:13146

        } else if ((reqDto != null && reqDto.getBatchCode() == null)) {
            //elseif(D3-13存档业务应用变更字段(公共).批次标识 值等于空 )  13147

            String string_2 = null;
            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_1 = new OmsBasicInstanceChangeColumn();
            omsBasicInstanceChangeColumn_1.setIsInproperties("FALSE");//sourceId:195803_1_13148
            omsBasicInstanceChangeColumn_1.setSubjectUpdateStatus("ARCHIVE");//sourceId:195802_1_13148
            omsBasicInstanceChangeColumn_1.setIsEditing("FALSE");//sourceId:314877_1_13148
            omsBasicInstanceChangeColumn_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:195801_1_13148
            if (reqDto != null) {
                omsBasicInstanceChangeColumn_1.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:195785_1_13148
                omsBasicInstanceChangeColumn_1.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:195794_1_13148
                omsBasicInstanceChangeColumn_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:195786_1_13148
                omsBasicInstanceChangeColumn_1.setObjectPropertyCode(reqDto.getObjectPropertyCode());//SimpleFieldAssign//sourceId:195787_1_13148
                omsBasicInstanceChangeColumn_1.setMetaDataColumnContent(reqDto.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:195789_1_13148
                omsBasicInstanceChangeColumn_1.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:195791_1_13148
                omsBasicInstanceChangeColumn_1.setOriColumnContent(reqDto.getOriColumnContent());//SimpleFieldAssign//sourceId:195790_1_13148
                omsBasicInstanceChangeColumn_1.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:195792_1_13148
                omsBasicInstanceChangeColumn_1.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:195793_1_13148
                omsBasicInstanceChangeColumn_1.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:195796_1_13148
                omsBasicInstanceChangeColumn_1.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:195795_1_13148
            }
            if (generateSemanticInstanceRes != null) {
                omsBasicInstanceChangeColumn_1.setObjectPropertyName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:195788_1_13148
            }

            /*3-13-02新增业务应用变更字段（非批次直接存档）[3892]   */
            Assert.isNull(omsBasicInstanceChangeColumn_1.getTableTypeCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-内容表类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getEntityName(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-内容表主键字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getEntityId(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-内容表主键ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectPropertyCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-变更字段英文名不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectPropertyName(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-变更字段行为日志名称不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getMetaDataColumnContent(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-变更字段原始值不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getColumnContent(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-变更后字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getOriColumnContent(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-变更前字段中文内容不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getIsInproperties(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-是否内部属性不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectTypeCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-主体类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectChangeType(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-主体变更日志类型不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectTypeCode(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-归属对象类型编码不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectId(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-归属对象内容ID不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectUpdateStatus(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-主体批次下更新状态不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getIsEditing(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-是否未来不能为空", false);
            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectLifeCycle(), "D3-13存档业务应用变更字段(公共)-3-13-02新增业务应用变更字段（非批次直接存档）-主体生命周期不能为空", false);
            string_2 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_1)/*vcase invoke 本地 method 方法调用;*/;


//processBranchName:正常结束 ,processBranchId:13149

        }
        ArchiveBizAppChangeColComRespDto retData = new ArchiveBizAppChangeColComRespDto();
        if (string_1 != null) {
            retData.setChangeColumnId(string_1);//SimpleFieldAssign//sourceId:1226001_1
        }


        return retData;
    }

    /**
     * D3-13批量删业务应用变更字段(公共)[3886]
     * gen by moon at 3/11/2023, 9:58:19 PM
     */
    @Trace(operationName = "D3-13批量删业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchDeleteBizAppChangeColComRespDto batchDeleteBizAppChangeColCom(BatchDeleteBizAppChangeColComReqDto reqDto) {


        //步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        if (reqDto != null) {
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:195760_1
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:195761_1
        }

        /*3-13-02查询业务应用变更字段列表[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getTableTypeCode(), "D3-13批量删业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getEntityId(), "D3-13批量删业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-内容表主键ID不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 3-13-02批量删业务应用变更字段 - batchDeleteBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<String> listString = new ArrayList<>();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                listString = listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                        .collect(Collectors.toList());/*list-to-strings*///sourceId:195759_1
            }

            /*3-13-02批量删业务应用变更字段[3614]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchDeleteBizAppChangeCol(listString)/*vcase invoke 本地 method 方法调用;*/;


        }

        BatchDeleteBizAppChangeColComRespDto retData = new BatchDeleteBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3批量回写业务应用变更字段(公共)[4506]
     * gen by moon at 11/4/2022, 11:25:08 PM
     */
    @Trace(operationName = "D3批量回写业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchWriteBackBizAppChangeColComRespDto batchWriteBackBizAppChangeColCom(BatchWriteBackBizAppChangeColComReqDto reqDto) {


        //virtualUsage 3-13-02查询业务应用变更字段列表  16081
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setIsInproperties("TRUE");//sourceId:317254_1_16081
        queryBizAppChangeColListReq.setSubjectUpdateStatus("REVISION");//sourceId:317252_1_16081
        if (reqDto != null) {
            queryBizAppChangeColListReq.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:317247_1_16081
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:317243_1_16081
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:317244_1_16081
            queryBizAppChangeColListReq.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:317249_1_16081
            queryBizAppChangeColListReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:317248_1_16081
            queryBizAppChangeColListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:317245_1_16081
        }

        /*3-13-02查询业务应用变更字段列表[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getObjectTypeCode(), "D3批量回写业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-归属对象类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getObjectId(), "D3批量回写业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-归属对象内容ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getIsInproperties(), "D3批量回写业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-是否内部属性不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectUpdateStatus(), "D3批量回写业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-主体批次下更新状态不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3批量回写业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq);


//virtualUsage M3-13-02执行业务应用筛选更新字段主键（特殊方法）  16082
        //ModelCode: filterUpdateFieldPrimaryKey
        ImplementBizScreenUpdateFieldFkRespDto filterUpdateFieldPrimaryKeyRes = null;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            ImplementBizScreenUpdateFieldFkReqDto filterUpdateFieldPrimaryKeyReq = new ImplementBizScreenUpdateFieldFkReqDto();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                filterUpdateFieldPrimaryKeyReq.setBizAppChangeColList(listOmsBasicInstanceChangeColumn.stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:317257_1_16082
            }

            /*M3-13-02执行业务应用筛选更新字段主键（特殊方法）[4507]   */

            filterUpdateFieldPrimaryKeyRes = nbChangeColumn.implementBizScreenUpdateFieldFk(filterUpdateFieldPrimaryKeyReq);


        }
//virtualUsage M3-13-02执行业务应用拼接主表修订记录（特殊方法）  16083
        //ModelCode: concatenateMasterTableRevisionRecords
        ImplementBizSplicingMainTableRevisionRecordRespDto concatenateMasterTableRevisionRecordsRes = null;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            ImplementBizSplicingMainTableRevisionRecordReqDto concatenateMasterTableRevisionRecordsReq = new ImplementBizSplicingMainTableRevisionRecordReqDto();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                concatenateMasterTableRevisionRecordsReq.setBizAppChangeColList(listOmsBasicInstanceChangeColumn.stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:317268_1_16083
            }

            /*M3-13-02执行业务应用拼接主表修订记录（特殊方法）[4508]   */

            concatenateMasterTableRevisionRecordsRes = nbChangeColumn.implementBizSplicingMainTableRevisionRecord(concatenateMasterTableRevisionRecordsReq);


        }
        if ((filterUpdateFieldPrimaryKeyRes != null && filterUpdateFieldPrimaryKeyRes.getObjectiveId() != null)) {
            //if(M3-13-02执行业务应用筛选更新字段主键（特殊方法）.指标ID 值不等于空 )  16084

            boolean bOOLEAN;
            List<OmsTargetObjective> listOmsTargetObjective = new ArrayList<>();
            if (concatenateMasterTableRevisionRecordsRes != null && concatenateMasterTableRevisionRecordsRes.getTargetObjList() != null && !CollectionUtil.isEmpty(concatenateMasterTableRevisionRecordsRes.getTargetObjList())) {
                listOmsTargetObjective = concatenateMasterTableRevisionRecordsRes.getTargetObjList().stream().map(item -> BeanUtil.toBean(item, OmsTargetObjective.class)).collect(Collectors.toList());//objList-to-objLists//sourceId:317270_1_16085
            }

            /*3-3-03批量改指标[2964]   */

            bOOLEAN = mOmsTargetObjectiveService.batchUpdateTargetObj(listOmsTargetObjective);


//processBranchName:正常结束 ,processBranchId:16086

        }
        BatchWriteBackBizAppChangeColComRespDto retData = new BatchWriteBackBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3-13查询业务应用变更字段列表[3786]
     * gen by moon at 10/8/2022, 2:58:43 AM
     */
    @Trace(operationName = "D3-13查询业务应用变更字段列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryBizAppChangeColListRespDto queryBizAppChangeColList(QueryBizAppChangeColListReqDto reqDto) {


        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn_1 = new ArrayList<>();
//步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        if (reqDto != null) {
            queryBizAppChangeColListReq.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:180432_1
            queryBizAppChangeColListReq.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:180444_1
            queryBizAppChangeColListReq.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:180445_1
            queryBizAppChangeColListReq.setSubjectUpdateStatus(reqDto.getSubjectUpdateStatus());//SimpleFieldAssign//sourceId:180446_1
            queryBizAppChangeColListReq.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:180434_1
            queryBizAppChangeColListReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:180433_1
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:180428_1
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:180429_1
        }

        /*3-13-02查询业务应用变更字段列表[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getSubjectTypeCode(), "D3-13查询业务应用变更字段列表-3-13-02查询业务应用变更字段列表-主体类型编码不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq);


        listOmsBasicInstanceChangeColumn_1 = listOmsBasicInstanceChangeColumn;

        QueryBizAppChangeColListRespDto retData = new QueryBizAppChangeColListRespDto();
        retData.setBizAppChangeColList(listOmsBasicInstanceChangeColumn_1.stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:180470_1


        return retData;
    }

    /**
     * D3修订业务应用变更字段(公共)[3889]
     * gen by moon at 12/14/2022, 1:34:18 PM
     */
    @Trace(operationName = "D3修订业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ReviseBizAppChangeColComRespDto reviseBizAppChangeColCom(ReviseBizAppChangeColComReqDto reqDto) {


        //virtualUsage 3-13-02查内容ID本次已更新字段列表（正在编辑）  12559
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setSubjectUpdateStatus("REVISION");//sourceId:196456_1_12559
        queryBizAppChangeColListReq.setIsInproperties("TRUE");//sourceId:196458_1_12559
        queryBizAppChangeColListReq.setSubjectLifeCycle("EDITING");//sourceId:196449_1_12559
        if (reqDto != null) {
            queryBizAppChangeColListReq.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:196451_1_12559
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:196447_1_12559
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:196448_1_12559
        }

        /*3-13-02查内容ID本次已更新字段列表（正在编辑）[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02查内容ID本次已更新字段列表（正在编辑）-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02查内容ID本次已更新字段列表（正在编辑）-内容表主键ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02查内容ID本次已更新字段列表（正在编辑）-主体批次下更新状态不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02查内容ID本次已更新字段列表（正在编辑）-是否内部属性不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02查内容ID本次已更新字段列表（正在编辑）-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq);


        if ((reqDto != null && reqDto.getBatchCode() != null)) {
            //if(D3修订业务应用变更字段(公共).批次标识 值不等于空 )  16007

            if ((listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn.size() == 0)) {
                //if(3-13-02查内容ID本次已更新字段列表（正在编辑）.业务应用变更字段列表数据集条数 等于 0)  16010

//ModelCode: circulationCollections
                for (ChangeColumnDto circulationCollectionsRes : reqDto.getChangeColumnList()) {

                    GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto = null;
                    GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
                    generateTimeCycleEtcSemanticInstanceComReqDto.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:486837_1_23703
                    if (reqDto != null) {
                        generateTimeCycleEtcSemanticInstanceComReqDto.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486851_1_23703
                    }
                    if (circulationCollectionsRes != null) {
                        generateTimeCycleEtcSemanticInstanceComReqDto.setReviseBehaviorName(circulationCollectionsRes.getObjectPropertyName());//SimpleFieldAssign//sourceId:486852_1_23703
                        generateTimeCycleEtcSemanticInstanceComReqDto.setColumnContent(circulationCollectionsRes.getColumnContent());//SimpleFieldAssign//sourceId:486853_1_23703
                    }

                    /*D2-生成变更字段语义故事内容服务(公共)[5030]   */
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-模板引擎标识不能为空", false);
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getReviseSubjectContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订主体内容不能为空", false);
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getReviseBehaviorName(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订行为名称不能为空", false);
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getColumnContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-变更后字段中文内容不能为空", false);
                    generateTimeCycleEtcSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto).getData();


                    if ((circulationCollectionsRes != null && circulationCollectionsRes.getOriColumnContent() == null)) {
                        //if(M3-13-02执行业务变更字段【循环开始】.原始字段中文内容 值等于空 )  16013

//ModelCode: receptionService
                        ObtainReceiveFieldRespDto receptionServiceRes = null;
                        ObtainReceiveFieldReqDto receptionServiceReq = new ObtainReceiveFieldReqDto();
                        receptionServiceReq.setOriColumnContent("无");//CUSTOM_CONVENTION//sourceId:316582_1_16014

                        /*M1-约定原始字段值[2451]  用于特殊方法接收上游入参。 */
                        Assert.isNull(receptionServiceReq.getOriColumnContent(), "D3修订业务应用变更字段(公共)-M1-约定原始字段值-变更前字段中文内容不能为空", false);
                        receptionServiceRes = nbChangeColumn.obtainReceiveField(receptionServiceReq);


                        String string = null;
                        if (generateTimeCycleEtcSemanticInstanceComRespDto != null) {
                            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = new OmsBasicInstanceChangeColumn();
                            omsBasicInstanceChangeColumn.setIsInproperties("TRUE");//sourceId:316223_1_16015
                            omsBasicInstanceChangeColumn.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16015
                            if (reqDto != null) {
                                omsBasicInstanceChangeColumn.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16015
                                omsBasicInstanceChangeColumn.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16015
                                omsBasicInstanceChangeColumn.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16015
                                omsBasicInstanceChangeColumn.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16015
                                omsBasicInstanceChangeColumn.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16015
                                omsBasicInstanceChangeColumn.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16015
                                omsBasicInstanceChangeColumn.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16015
                                omsBasicInstanceChangeColumn.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:316217_1_16015
                                omsBasicInstanceChangeColumn.setBatchStartTime(reqDto.getBatchStartTime());//SimpleFieldAssign//sourceId:316218_1_16015
                                omsBasicInstanceChangeColumn.setBatchEndTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:316219_1_16015
                                omsBasicInstanceChangeColumn.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16015
                                omsBasicInstanceChangeColumn.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16015
                            }
                            if (circulationCollectionsRes != null) {
                                omsBasicInstanceChangeColumn.setObjectPropertyCode(circulationCollectionsRes.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16015
                                omsBasicInstanceChangeColumn.setMetaDataColumnContent(circulationCollectionsRes.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16015
                                omsBasicInstanceChangeColumn.setColumnContent(circulationCollectionsRes.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16015
                            }
                            if (generateTimeCycleEtcSemanticInstanceComRespDto != null) {
                                omsBasicInstanceChangeColumn.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16015
                            }
                            if (receptionServiceRes != null) {
                                omsBasicInstanceChangeColumn.setOriColumnContent(receptionServiceRes.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16015
                            }

                            /*3-13-02新增业务应用变更字段[3892]   */
                            Assert.isNull(omsBasicInstanceChangeColumn.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                            string = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn);


                        }
                    } else {
                        //else  16016

                        String string_2 = null;
                        if (generateTimeCycleEtcSemanticInstanceComRespDto != null) {
                            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_1 = new OmsBasicInstanceChangeColumn();
                            omsBasicInstanceChangeColumn_1.setIsInproperties("TRUE");//sourceId:316223_1_16017
                            omsBasicInstanceChangeColumn_1.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16017
                            if (reqDto != null) {
                                omsBasicInstanceChangeColumn_1.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16017
                                omsBasicInstanceChangeColumn_1.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16017
                                omsBasicInstanceChangeColumn_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16017
                                omsBasicInstanceChangeColumn_1.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16017
                                omsBasicInstanceChangeColumn_1.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16017
                                omsBasicInstanceChangeColumn_1.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16017
                                omsBasicInstanceChangeColumn_1.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16017
                                omsBasicInstanceChangeColumn_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:316217_1_16017
                                omsBasicInstanceChangeColumn_1.setBatchStartTime(reqDto.getBatchStartTime());//SimpleFieldAssign//sourceId:316218_1_16017
                                omsBasicInstanceChangeColumn_1.setBatchEndTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:316219_1_16017
                                omsBasicInstanceChangeColumn_1.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16017
                                omsBasicInstanceChangeColumn_1.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16017
                            }
                            if (circulationCollectionsRes != null) {
                                omsBasicInstanceChangeColumn_1.setObjectPropertyCode(circulationCollectionsRes.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16017
                                omsBasicInstanceChangeColumn_1.setMetaDataColumnContent(circulationCollectionsRes.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16017
                                omsBasicInstanceChangeColumn_1.setOriColumnContent(circulationCollectionsRes.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16017
                                omsBasicInstanceChangeColumn_1.setColumnContent(circulationCollectionsRes.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16017
                            }
                            if (generateTimeCycleEtcSemanticInstanceComRespDto != null) {
                                omsBasicInstanceChangeColumn_1.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16017
                            }

                            /*3-13-02新增业务应用变更字段[3892]   */
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_1.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                            string_2 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_1);


                        }
                    }
//ModelCode: circulationEnd
                }

            } else if ((listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn.size() > 0)) {
                //elseif(3-13-02查内容ID本次已更新字段列表（正在编辑）.业务应用变更字段列表数据集条数 大于 0)  16018

//ModelCode: dataAuClassification
                RefreshChangeColumnRespDto dataAuClassificationRes = null;
                RefreshChangeColumnReqDto dataAuClassificationReq = new RefreshChangeColumnReqDto();
                if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                    dataAuClassificationReq.setBizAppChangeColList(listOmsBasicInstanceChangeColumn.stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:196500_1_16019
                }
                if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
                    dataAuClassificationReq.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:196501_1_16019
                }

                /*M3-13-02更新字段中，过滤新增、修改字段（特殊方法）[3901]  入参两个数据集，出参两个数据集，分别对应：新增数据集、删除数据集 */

                dataAuClassificationRes = nbChangeColumn.refreshChangeColumn(dataAuClassificationReq);


                if ((dataAuClassificationRes != null && dataAuClassificationRes.getNewColumnList() != null && dataAuClassificationRes.getNewColumnList().size() > 0 && dataAuClassificationRes != null && dataAuClassificationRes.getModifyColumnList() != null && dataAuClassificationRes.getModifyColumnList().size() >= 0)) {
                    //if((M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.新增字段分类列表数据集条数 大于 0 and M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.修改字段分类列表数据集条数 大于等于 0))  16020

//ModelCode: circulationCollections
                    for (NewColumnDto circulationCollectionsRes_2 : dataAuClassificationRes.getNewColumnList()) {

                        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_2 = null;
                        GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto_1 = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
                        generateTimeCycleEtcSemanticInstanceComReqDto_1.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:486837_1_23704
                        if (reqDto != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_1.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486851_1_23704
                        }
                        if (circulationCollectionsRes_2 != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_1.setReviseBehaviorName(circulationCollectionsRes_2.getObjectPropertyName());//SimpleFieldAssign//sourceId:486852_1_23704
                            generateTimeCycleEtcSemanticInstanceComReqDto_1.setColumnContent(circulationCollectionsRes_2.getColumnContent());//SimpleFieldAssign//sourceId:486853_1_23704
                        }

                        /*D2-生成变更字段语义故事内容服务(公共)[5030]   */
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_1.getTemplateSemanticEngineCode(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-模板引擎标识不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_1.getReviseSubjectContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订主体内容不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_1.getReviseBehaviorName(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订行为名称不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_1.getColumnContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-变更后字段中文内容不能为空", false);
                        generateTimeCycleEtcSemanticInstanceComRespDto_2 = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto_1).getData();


                        if ((circulationCollectionsRes_2 != null && circulationCollectionsRes_2.getOriColumnContent() == null)) {
                            //if(M3-13-02执行业务变更字段【循环开始】.原始字段中文内容 值等于空 )  16023

//ModelCode: receptionService
                            ObtainReceiveFieldRespDto receptionServiceRes_2 = null;
                            ObtainReceiveFieldReqDto receptionServiceReq_1 = new ObtainReceiveFieldReqDto();
                            receptionServiceReq_1.setOriColumnContent("无");//CUSTOM_CONVENTION//sourceId:316582_1_16024

                            /*M1-约定原始字段值[2451]  用于特殊方法接收上游入参。 */
                            Assert.isNull(receptionServiceReq_1.getOriColumnContent(), "D3修订业务应用变更字段(公共)-M1-约定原始字段值-变更前字段中文内容不能为空", false);
                            receptionServiceRes_2 = nbChangeColumn.obtainReceiveField(receptionServiceReq_1);


                            String string_3 = null;
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_2 != null) {
                                OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_2 = new OmsBasicInstanceChangeColumn();
                                omsBasicInstanceChangeColumn_2.setIsInproperties("TRUE");//sourceId:316223_1_16025
                                omsBasicInstanceChangeColumn_2.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16025
                                if (reqDto != null) {
                                    omsBasicInstanceChangeColumn_2.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16025
                                    omsBasicInstanceChangeColumn_2.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16025
                                    omsBasicInstanceChangeColumn_2.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16025
                                    omsBasicInstanceChangeColumn_2.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16025
                                    omsBasicInstanceChangeColumn_2.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16025
                                    omsBasicInstanceChangeColumn_2.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16025
                                    omsBasicInstanceChangeColumn_2.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16025
                                    omsBasicInstanceChangeColumn_2.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:316217_1_16025
                                    omsBasicInstanceChangeColumn_2.setBatchStartTime(reqDto.getBatchStartTime());//SimpleFieldAssign//sourceId:316218_1_16025
                                    omsBasicInstanceChangeColumn_2.setBatchEndTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:316219_1_16025
                                    omsBasicInstanceChangeColumn_2.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16025
                                    omsBasicInstanceChangeColumn_2.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16025
                                }
                                if (circulationCollectionsRes_2 != null) {
                                    omsBasicInstanceChangeColumn_2.setObjectPropertyCode(circulationCollectionsRes_2.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16025
                                    omsBasicInstanceChangeColumn_2.setMetaDataColumnContent(circulationCollectionsRes_2.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16025
                                    omsBasicInstanceChangeColumn_2.setColumnContent(circulationCollectionsRes_2.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16025
                                }
                                if (generateTimeCycleEtcSemanticInstanceComRespDto_2 != null) {
                                    omsBasicInstanceChangeColumn_2.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_2.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16025
                                }
                                if (receptionServiceRes_2 != null) {
                                    omsBasicInstanceChangeColumn_2.setOriColumnContent(receptionServiceRes_2.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16025
                                }

                                /*3-13-02新增业务应用变更字段[3892]   */
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_2.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                                string_3 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_2);


                            }
                        } else {
                            //else  16026

                            String string_4 = null;
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_2 != null) {
                                OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_3 = new OmsBasicInstanceChangeColumn();
                                omsBasicInstanceChangeColumn_3.setIsInproperties("TRUE");//sourceId:316223_1_16027
                                omsBasicInstanceChangeColumn_3.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16027
                                if (reqDto != null) {
                                    omsBasicInstanceChangeColumn_3.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16027
                                    omsBasicInstanceChangeColumn_3.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16027
                                    omsBasicInstanceChangeColumn_3.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16027
                                    omsBasicInstanceChangeColumn_3.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16027
                                    omsBasicInstanceChangeColumn_3.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16027
                                    omsBasicInstanceChangeColumn_3.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16027
                                    omsBasicInstanceChangeColumn_3.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16027
                                    omsBasicInstanceChangeColumn_3.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:316217_1_16027
                                    omsBasicInstanceChangeColumn_3.setBatchStartTime(reqDto.getBatchStartTime());//SimpleFieldAssign//sourceId:316218_1_16027
                                    omsBasicInstanceChangeColumn_3.setBatchEndTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:316219_1_16027
                                    omsBasicInstanceChangeColumn_3.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16027
                                    omsBasicInstanceChangeColumn_3.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16027
                                }
                                if (circulationCollectionsRes_2 != null) {
                                    omsBasicInstanceChangeColumn_3.setObjectPropertyCode(circulationCollectionsRes_2.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16027
                                    omsBasicInstanceChangeColumn_3.setMetaDataColumnContent(circulationCollectionsRes_2.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16027
                                    omsBasicInstanceChangeColumn_3.setOriColumnContent(circulationCollectionsRes_2.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16027
                                    omsBasicInstanceChangeColumn_3.setColumnContent(circulationCollectionsRes_2.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16027
                                }
                                if (generateTimeCycleEtcSemanticInstanceComRespDto_2 != null) {
                                    omsBasicInstanceChangeColumn_3.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_2.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16027
                                }

                                /*3-13-02新增业务应用变更字段[3892]   */
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_3.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                                string_4 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_3);


                            }
                        }
//ModelCode: circulationEnd
                    }

                }
                if ((dataAuClassificationRes != null && dataAuClassificationRes.getModifyColumnList() != null && dataAuClassificationRes.getModifyColumnList().size() > 0 && dataAuClassificationRes != null && dataAuClassificationRes.getNewColumnList() != null && dataAuClassificationRes.getNewColumnList().size() >= 0)) {
                    //if((M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.修改字段分类列表数据集条数 大于 0 and M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.新增字段分类列表数据集条数 大于等于 0))  16031

//ModelCode: circulationCollections
                    for (ModifyColumnDto circulationCollectionsRes_3 : dataAuClassificationRes.getModifyColumnList()) {

                        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_3 = null;
                        GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto_2 = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
                        generateTimeCycleEtcSemanticInstanceComReqDto_2.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:486837_1_23705
                        if (reqDto != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_2.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486851_1_23705
                        }
                        if (circulationCollectionsRes_3 != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_2.setReviseBehaviorName(circulationCollectionsRes_3.getObjectPropertyName());//SimpleFieldAssign//sourceId:486852_1_23705
                            generateTimeCycleEtcSemanticInstanceComReqDto_2.setColumnContent(circulationCollectionsRes_3.getColumnContent());//SimpleFieldAssign//sourceId:486853_1_23705
                        }

                        /*D2-生成变更字段语义故事内容服务(公共)[5030]   */
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_2.getTemplateSemanticEngineCode(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-模板引擎标识不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_2.getReviseSubjectContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订主体内容不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_2.getReviseBehaviorName(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订行为名称不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_2.getColumnContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-变更后字段中文内容不能为空", false);
                        generateTimeCycleEtcSemanticInstanceComRespDto_3 = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto_2).getData();


                        boolean bOOLEAN;
                        if (generateTimeCycleEtcSemanticInstanceComRespDto_3 != null) {
                            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_4 = new OmsBasicInstanceChangeColumn();
                            omsBasicInstanceChangeColumn_4.setIsArchive("FALSE");//sourceId:317118_1_16034
                            omsBasicInstanceChangeColumn_4.setArchivngType("NOT_ARCHIVE");//sourceId:317119_1_16034
                            omsBasicInstanceChangeColumn_4.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:317120_1_16034
                            if (omsBasicInstanceChangeColumn_4 != null && omsBasicInstanceChangeColumn_4.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn_4.getSubjectLifeCycle().equals("CURRENTLY_VALID")) {
                                omsBasicInstanceChangeColumn_4.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//RELEASED_CURRENT_INDUCTIONID
                            }//sourceId:317121_1_16034
                            omsBasicInstanceChangeColumn_4.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:317122_1_16034
                            if (omsBasicInstanceChangeColumn_4 != null && omsBasicInstanceChangeColumn_4.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn_4.getSubjectLifeCycle().equals("CURRENTLY_VALID")) {
                                omsBasicInstanceChangeColumn_4.setReleaseTime(CommonFunctionHelper.getCurrentTime());//RELEASE_SYSTEM_CURRENT_TIME
                            }//sourceId:317123_1_16034
                            if (circulationCollectionsRes_3 != null) {
                                omsBasicInstanceChangeColumn_4.setChangeColumnId(circulationCollectionsRes_3.getChangeColumnId());//SimpleFieldAssign//sourceId:316226_1_16034
                                omsBasicInstanceChangeColumn_4.setObjectPropertyCode(circulationCollectionsRes_3.getObjectPropertyCode());//SimpleFieldAssign//sourceId:317109_1_16034
                                omsBasicInstanceChangeColumn_4.setMetaDataColumnContent(circulationCollectionsRes_3.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:317111_1_16034
                                omsBasicInstanceChangeColumn_4.setOriColumnContent(circulationCollectionsRes_3.getOriColumnContent());//SimpleFieldAssign//sourceId:317112_1_16034
                                omsBasicInstanceChangeColumn_4.setColumnContent(circulationCollectionsRes_3.getColumnContent());//SimpleFieldAssign//sourceId:317113_1_16034
                            }
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_3 != null) {
                                omsBasicInstanceChangeColumn_4.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_3.getObjectName());//SimpleFieldAssign//sourceId:317110_1_16034
                            }
                            if (reqDto != null) {
                                omsBasicInstanceChangeColumn_4.setBatchStartTime(reqDto.getBatchStartTime());//SimpleFieldAssign//sourceId:317114_1_16034
                                omsBasicInstanceChangeColumn_4.setBatchEndTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:317115_1_16034
                                omsBasicInstanceChangeColumn_4.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:317116_1_16034
                                omsBasicInstanceChangeColumn_4.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:317117_1_16034
                            }

                            /*3-13-02修改业务应用变更字段[4501]   */
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getChangeColumnId(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段记录ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段行为日志名称不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段原始值不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更前字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更后字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-是否未来不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-主体生命周期不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getIsArchive(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-是否存档不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getArchivngType(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-存档类型不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getOperationInductionId(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-操作人就职记录ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_4.getOperateTime(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-操作时间不能为空", false);
                            bOOLEAN = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_4);


                        }
//ModelCode: circulationEnd
                    }

                }
            }
        } else if ((reqDto != null && reqDto.getBatchCode() == null)) {
            //elseif(D3修订业务应用变更字段(公共).批次标识 值等于空 )  16008

            if ((listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn.size() == 0)) {
                //if(3-13-02查内容ID本次已更新字段列表（正在编辑）.业务应用变更字段列表数据集条数 等于 0)  16037

//ModelCode: circulationCollections
                for (ChangeColumnDto circulationCollectionsRes_4 : reqDto.getChangeColumnList()) {

                    GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_4 = null;
                    GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto_3 = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
                    generateTimeCycleEtcSemanticInstanceComReqDto_3.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:486837_1_23706
                    if (reqDto != null) {
                        generateTimeCycleEtcSemanticInstanceComReqDto_3.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486851_1_23706
                    }
                    if (circulationCollectionsRes_4 != null) {
                        generateTimeCycleEtcSemanticInstanceComReqDto_3.setReviseBehaviorName(circulationCollectionsRes_4.getObjectPropertyName());//SimpleFieldAssign//sourceId:486852_1_23706
                        generateTimeCycleEtcSemanticInstanceComReqDto_3.setColumnContent(circulationCollectionsRes_4.getColumnContent());//SimpleFieldAssign//sourceId:486853_1_23706
                    }

                    /*D2-生成变更字段语义故事内容服务(公共)[5030]   */
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_3.getTemplateSemanticEngineCode(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-模板引擎标识不能为空", false);
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_3.getReviseSubjectContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订主体内容不能为空", false);
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_3.getReviseBehaviorName(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订行为名称不能为空", false);
                    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_3.getColumnContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-变更后字段中文内容不能为空", false);
                    generateTimeCycleEtcSemanticInstanceComRespDto_4 = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto_3).getData();


                    if ((circulationCollectionsRes_4 != null && circulationCollectionsRes_4.getOriColumnContent() == null)) {
                        //if(M3-13-02执行业务变更字段【循环开始】.原始字段中文内容 值等于空 )  16040

//ModelCode: receptionService
                        ObtainReceiveFieldRespDto receptionServiceRes_3 = null;
                        ObtainReceiveFieldReqDto receptionServiceReq_2 = new ObtainReceiveFieldReqDto();
                        receptionServiceReq_2.setOriColumnContent("无");//CUSTOM_CONVENTION//sourceId:316582_1_16041

                        /*M1-约定原始字段值[2451]  用于特殊方法接收上游入参。 */
                        Assert.isNull(receptionServiceReq_2.getOriColumnContent(), "D3修订业务应用变更字段(公共)-M1-约定原始字段值-变更前字段中文内容不能为空", false);
                        receptionServiceRes_3 = nbChangeColumn.obtainReceiveField(receptionServiceReq_2);


                        String string_5 = null;
                        if (generateTimeCycleEtcSemanticInstanceComRespDto_4 != null) {
                            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_5 = new OmsBasicInstanceChangeColumn();
                            omsBasicInstanceChangeColumn_5.setIsInproperties("TRUE");//sourceId:316223_1_16042
                            omsBasicInstanceChangeColumn_5.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16042
                            if (reqDto != null) {
                                omsBasicInstanceChangeColumn_5.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16042
                                omsBasicInstanceChangeColumn_5.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16042
                                omsBasicInstanceChangeColumn_5.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16042
                                omsBasicInstanceChangeColumn_5.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16042
                                omsBasicInstanceChangeColumn_5.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16042
                                omsBasicInstanceChangeColumn_5.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16042
                                omsBasicInstanceChangeColumn_5.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16042
                                omsBasicInstanceChangeColumn_5.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16042
                                omsBasicInstanceChangeColumn_5.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16042
                            }
                            if (circulationCollectionsRes_4 != null) {
                                omsBasicInstanceChangeColumn_5.setObjectPropertyCode(circulationCollectionsRes_4.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16042
                                omsBasicInstanceChangeColumn_5.setMetaDataColumnContent(circulationCollectionsRes_4.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16042
                                omsBasicInstanceChangeColumn_5.setColumnContent(circulationCollectionsRes_4.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16042
                            }
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_4 != null) {
                                omsBasicInstanceChangeColumn_5.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_4.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16042
                            }
                            if (receptionServiceRes_3 != null) {
                                omsBasicInstanceChangeColumn_5.setOriColumnContent(receptionServiceRes_3.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16042
                            }

                            /*3-13-02新增业务应用变更字段[3892]   */
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_5.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                            string_5 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_5);


                        }
                    } else {
                        //else  16043

                        String string_6 = null;
                        if (generateTimeCycleEtcSemanticInstanceComRespDto_4 != null) {
                            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_6 = new OmsBasicInstanceChangeColumn();
                            omsBasicInstanceChangeColumn_6.setIsInproperties("TRUE");//sourceId:316223_1_16044
                            omsBasicInstanceChangeColumn_6.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16044
                            if (reqDto != null) {
                                omsBasicInstanceChangeColumn_6.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16044
                                omsBasicInstanceChangeColumn_6.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16044
                                omsBasicInstanceChangeColumn_6.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16044
                                omsBasicInstanceChangeColumn_6.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16044
                                omsBasicInstanceChangeColumn_6.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16044
                                omsBasicInstanceChangeColumn_6.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16044
                                omsBasicInstanceChangeColumn_6.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16044
                                omsBasicInstanceChangeColumn_6.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16044
                                omsBasicInstanceChangeColumn_6.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16044
                            }
                            if (circulationCollectionsRes_4 != null) {
                                omsBasicInstanceChangeColumn_6.setObjectPropertyCode(circulationCollectionsRes_4.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16044
                                omsBasicInstanceChangeColumn_6.setMetaDataColumnContent(circulationCollectionsRes_4.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16044
                                omsBasicInstanceChangeColumn_6.setOriColumnContent(circulationCollectionsRes_4.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16044
                                omsBasicInstanceChangeColumn_6.setColumnContent(circulationCollectionsRes_4.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16044
                            }
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_4 != null) {
                                omsBasicInstanceChangeColumn_6.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_4.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16044
                            }

                            /*3-13-02新增业务应用变更字段[3892]   */
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_6.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                            string_6 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_6);


                        }
                    }
//ModelCode: circulationEnd
                }

            } else if ((listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn != null && listOmsBasicInstanceChangeColumn.size() > 0)) {
                //elseif(3-13-02查内容ID本次已更新字段列表（正在编辑）.业务应用变更字段列表数据集条数 大于 0)  16046

//ModelCode: dataAuClassification
                RefreshChangeColumnRespDto dataAuClassificationRes_2 = null;
                RefreshChangeColumnReqDto dataAuClassificationReq_1 = new RefreshChangeColumnReqDto();
                if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                    dataAuClassificationReq_1.setBizAppChangeColList(listOmsBasicInstanceChangeColumn.stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:196500_1_16047
                }
                if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
                    dataAuClassificationReq_1.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:196501_1_16047
                }

                /*M3-13-02更新字段中，过滤新增、修改字段（特殊方法）[3901]  入参两个数据集，出参两个数据集，分别对应：新增数据集、删除数据集 */

                dataAuClassificationRes_2 = nbChangeColumn.refreshChangeColumn(dataAuClassificationReq_1);


                if ((dataAuClassificationRes_2 != null && dataAuClassificationRes_2.getNewColumnList() != null && dataAuClassificationRes_2.getNewColumnList().size() > 0 && dataAuClassificationRes_2 != null && dataAuClassificationRes_2.getModifyColumnList() != null && dataAuClassificationRes_2.getModifyColumnList().size() >= 0)) {
                    //if((M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.新增字段分类列表数据集条数 大于 0 and M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.修改字段分类列表数据集条数 大于等于 0))  16048

//ModelCode: circulationCollections
                    for (NewColumnDto circulationCollectionsRes_5 : dataAuClassificationRes_2.getNewColumnList()) {

                        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_5 = null;
                        GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto_4 = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
                        generateTimeCycleEtcSemanticInstanceComReqDto_4.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:486837_1_23707
                        if (reqDto != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_4.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486851_1_23707
                        }
                        if (circulationCollectionsRes_5 != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_4.setReviseBehaviorName(circulationCollectionsRes_5.getObjectPropertyName());//SimpleFieldAssign//sourceId:486852_1_23707
                            generateTimeCycleEtcSemanticInstanceComReqDto_4.setColumnContent(circulationCollectionsRes_5.getColumnContent());//SimpleFieldAssign//sourceId:486853_1_23707
                        }

                        /*D2-生成变更字段语义故事内容服务(公共)[5030]   */
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_4.getTemplateSemanticEngineCode(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-模板引擎标识不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_4.getReviseSubjectContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订主体内容不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_4.getReviseBehaviorName(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订行为名称不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_4.getColumnContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-变更后字段中文内容不能为空", false);
                        generateTimeCycleEtcSemanticInstanceComRespDto_5 = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto_4).getData();


                        if ((circulationCollectionsRes_5 != null && circulationCollectionsRes_5.getOriColumnContent() == null)) {
                            //if(M3-13-02执行业务变更字段【循环开始】.原始字段中文内容 值等于空 )  16051

//ModelCode: receptionService
                            ObtainReceiveFieldRespDto receptionServiceRes_4 = null;
                            ObtainReceiveFieldReqDto receptionServiceReq_3 = new ObtainReceiveFieldReqDto();
                            receptionServiceReq_3.setOriColumnContent("无");//CUSTOM_CONVENTION//sourceId:316582_1_16052

                            /*M1-约定原始字段值[2451]  用于特殊方法接收上游入参。 */
                            Assert.isNull(receptionServiceReq_3.getOriColumnContent(), "D3修订业务应用变更字段(公共)-M1-约定原始字段值-变更前字段中文内容不能为空", false);
                            receptionServiceRes_4 = nbChangeColumn.obtainReceiveField(receptionServiceReq_3);


                            String string_7 = null;
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_5 != null) {
                                OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_7 = new OmsBasicInstanceChangeColumn();
                                omsBasicInstanceChangeColumn_7.setIsInproperties("TRUE");//sourceId:316223_1_16053
                                omsBasicInstanceChangeColumn_7.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16053
                                if (reqDto != null) {
                                    omsBasicInstanceChangeColumn_7.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16053
                                    omsBasicInstanceChangeColumn_7.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16053
                                    omsBasicInstanceChangeColumn_7.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16053
                                    omsBasicInstanceChangeColumn_7.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16053
                                    omsBasicInstanceChangeColumn_7.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16053
                                    omsBasicInstanceChangeColumn_7.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16053
                                    omsBasicInstanceChangeColumn_7.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16053
                                    omsBasicInstanceChangeColumn_7.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16053
                                    omsBasicInstanceChangeColumn_7.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16053
                                }
                                if (circulationCollectionsRes_5 != null) {
                                    omsBasicInstanceChangeColumn_7.setObjectPropertyCode(circulationCollectionsRes_5.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16053
                                    omsBasicInstanceChangeColumn_7.setMetaDataColumnContent(circulationCollectionsRes_5.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16053
                                    omsBasicInstanceChangeColumn_7.setColumnContent(circulationCollectionsRes_5.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16053
                                }
                                if (generateTimeCycleEtcSemanticInstanceComRespDto_5 != null) {
                                    omsBasicInstanceChangeColumn_7.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_5.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16053
                                }
                                if (receptionServiceRes_4 != null) {
                                    omsBasicInstanceChangeColumn_7.setOriColumnContent(receptionServiceRes_4.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16053
                                }

                                /*3-13-02新增业务应用变更字段[3892]   */
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_7.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                                string_7 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_7);


                            }
                        } else {
                            //else  16054

                            String string_8 = null;
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_5 != null) {
                                OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_8 = new OmsBasicInstanceChangeColumn();
                                omsBasicInstanceChangeColumn_8.setIsInproperties("TRUE");//sourceId:316223_1_16055
                                omsBasicInstanceChangeColumn_8.setSubjectUpdateStatus("REVISION");//sourceId:316222_1_16055
                                if (reqDto != null) {
                                    omsBasicInstanceChangeColumn_8.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:316205_1_16055
                                    omsBasicInstanceChangeColumn_8.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:316214_1_16055
                                    omsBasicInstanceChangeColumn_8.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:316206_1_16055
                                    omsBasicInstanceChangeColumn_8.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:316212_1_16055
                                    omsBasicInstanceChangeColumn_8.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:316213_1_16055
                                    omsBasicInstanceChangeColumn_8.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:316216_1_16055
                                    omsBasicInstanceChangeColumn_8.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:316215_1_16055
                                    omsBasicInstanceChangeColumn_8.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:316220_1_16055
                                    omsBasicInstanceChangeColumn_8.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:316221_1_16055
                                }
                                if (circulationCollectionsRes_5 != null) {
                                    omsBasicInstanceChangeColumn_8.setObjectPropertyCode(circulationCollectionsRes_5.getObjectPropertyCode());//SimpleFieldAssign//sourceId:316207_1_16055
                                    omsBasicInstanceChangeColumn_8.setMetaDataColumnContent(circulationCollectionsRes_5.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:316209_1_16055
                                    omsBasicInstanceChangeColumn_8.setOriColumnContent(circulationCollectionsRes_5.getOriColumnContent());//SimpleFieldAssign//sourceId:316210_1_16055
                                    omsBasicInstanceChangeColumn_8.setColumnContent(circulationCollectionsRes_5.getColumnContent());//SimpleFieldAssign//sourceId:316211_1_16055
                                }
                                if (generateTimeCycleEtcSemanticInstanceComRespDto_5 != null) {
                                    omsBasicInstanceChangeColumn_8.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_5.getObjectName());//SimpleFieldAssign//sourceId:316208_1_16055
                                }

                                /*3-13-02新增业务应用变更字段[3892]   */
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getTableTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getEntityName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getEntityId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getIsInproperties(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getSubjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getSubjectChangeType(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getObjectId(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getSubjectUpdateStatus(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                                Assert.isNull(omsBasicInstanceChangeColumn_8.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                                string_8 = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn_8);


                            }
                        }
//ModelCode: circulationEnd
                    }

                }
                if ((dataAuClassificationRes_2 != null && dataAuClassificationRes_2.getModifyColumnList() != null && dataAuClassificationRes_2.getModifyColumnList().size() > 0 && dataAuClassificationRes_2 != null && dataAuClassificationRes_2.getNewColumnList() != null && dataAuClassificationRes_2.getNewColumnList().size() >= 0)) {
                    //if((M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.修改字段分类列表数据集条数 大于 0 and M3-13-02更新字段中，过滤新增、修改字段（特殊方法）.新增字段分类列表数据集条数 大于等于 0))  16058

//ModelCode: circulationCollections
                    for (ModifyColumnDto circulationCollectionsRes_6 : dataAuClassificationRes_2.getModifyColumnList()) {

                        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_6 = null;
                        GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto_5 = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
                        generateTimeCycleEtcSemanticInstanceComReqDto_5.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:486837_1_23708
                        if (reqDto != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_5.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486851_1_23708
                        }
                        if (circulationCollectionsRes_6 != null) {
                            generateTimeCycleEtcSemanticInstanceComReqDto_5.setReviseBehaviorName(circulationCollectionsRes_6.getObjectPropertyName());//SimpleFieldAssign//sourceId:486852_1_23708
                            generateTimeCycleEtcSemanticInstanceComReqDto_5.setColumnContent(circulationCollectionsRes_6.getColumnContent());//SimpleFieldAssign//sourceId:486853_1_23708
                        }

                        /*D2-生成变更字段语义故事内容服务(公共)[5030]   */
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_5.getTemplateSemanticEngineCode(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-模板引擎标识不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_5.getReviseSubjectContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订主体内容不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_5.getReviseBehaviorName(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-修订行为名称不能为空", false);
                        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto_5.getColumnContent(), "D3修订业务应用变更字段(公共)-D2-生成变更字段语义故事内容服务(公共)-变更后字段中文内容不能为空", false);
                        generateTimeCycleEtcSemanticInstanceComRespDto_6 = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto_5).getData();


                        boolean bOOLEAN_1;
                        if (generateTimeCycleEtcSemanticInstanceComRespDto_6 != null) {
                            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_9 = new OmsBasicInstanceChangeColumn();
                            omsBasicInstanceChangeColumn_9.setIsArchive("FALSE");//sourceId:317118_1_16061
                            omsBasicInstanceChangeColumn_9.setArchivngType("NOT_ARCHIVE");//sourceId:317119_1_16061
                            omsBasicInstanceChangeColumn_9.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:317120_1_16061
                            if (omsBasicInstanceChangeColumn_9 != null && omsBasicInstanceChangeColumn_9.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn_9.getSubjectLifeCycle().equals("CURRENTLY_VALID")) {
                                omsBasicInstanceChangeColumn_9.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//RELEASED_CURRENT_INDUCTIONID
                            }//sourceId:317121_1_16061
                            omsBasicInstanceChangeColumn_9.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:317122_1_16061
                            if (omsBasicInstanceChangeColumn_9 != null && omsBasicInstanceChangeColumn_9.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn_9.getSubjectLifeCycle().equals("CURRENTLY_VALID")) {
                                omsBasicInstanceChangeColumn_9.setReleaseTime(CommonFunctionHelper.getCurrentTime());//RELEASE_SYSTEM_CURRENT_TIME
                            }//sourceId:317123_1_16061
                            if (circulationCollectionsRes_6 != null) {
                                omsBasicInstanceChangeColumn_9.setChangeColumnId(circulationCollectionsRes_6.getChangeColumnId());//SimpleFieldAssign//sourceId:316226_1_16061
                                omsBasicInstanceChangeColumn_9.setObjectPropertyCode(circulationCollectionsRes_6.getObjectPropertyCode());//SimpleFieldAssign//sourceId:317109_1_16061
                                omsBasicInstanceChangeColumn_9.setMetaDataColumnContent(circulationCollectionsRes_6.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:317111_1_16061
                                omsBasicInstanceChangeColumn_9.setOriColumnContent(circulationCollectionsRes_6.getOriColumnContent());//SimpleFieldAssign//sourceId:317112_1_16061
                                omsBasicInstanceChangeColumn_9.setColumnContent(circulationCollectionsRes_6.getColumnContent());//SimpleFieldAssign//sourceId:317113_1_16061
                            }
                            if (generateTimeCycleEtcSemanticInstanceComRespDto_6 != null) {
                                omsBasicInstanceChangeColumn_9.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto_6.getObjectName());//SimpleFieldAssign//sourceId:317110_1_16061
                            }
                            if (reqDto != null) {
                                omsBasicInstanceChangeColumn_9.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:317116_1_16061
                                omsBasicInstanceChangeColumn_9.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:317117_1_16061
                            }

                            /*3-13-02修改业务应用变更字段[4501]   */
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getChangeColumnId(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段记录ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getObjectPropertyCode(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段英文名不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getObjectPropertyName(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段行为日志名称不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getMetaDataColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更字段原始值不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getOriColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更前字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getColumnContent(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-变更后字段中文内容不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getIsEditing(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-是否未来不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-主体生命周期不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getIsArchive(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-是否存档不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getArchivngType(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-存档类型不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getOperationInductionId(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-操作人就职记录ID不能为空", false);
                            Assert.isNull(omsBasicInstanceChangeColumn_9.getOperateTime(), "D3修订业务应用变更字段(公共)-3-13-02修改业务应用变更字段-操作时间不能为空", false);
                            bOOLEAN_1 = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_9);


                        }
//ModelCode: circulationEnd
                    }

                }
                if ((reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
                    //if(D3修订业务应用变更字段(公共).主体生命周期 等于 当前有效)  16064

                    BatchWriteBackBizAppChangeColComRespDto batchWriteBackBizAppChangeColComRespDto = null;
                    BatchWriteBackBizAppChangeColComReqDto batchWriteBackBizAppChangeColComReqDto = new BatchWriteBackBizAppChangeColComReqDto();
                    if (reqDto != null) {
                        batchWriteBackBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:317271_1_16087
                        batchWriteBackBizAppChangeColComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:317272_1_16087
                        batchWriteBackBizAppChangeColComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:317273_1_16087
                        batchWriteBackBizAppChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:317274_1_16087
                        batchWriteBackBizAppChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:317275_1_16087
                        batchWriteBackBizAppChangeColComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:317276_1_16087
                    }

                    /*D3批量回写业务应用变更字段(公共)[4506]   */
                    Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getObjectTypeCode(), "D3修订业务应用变更字段(公共)-D3批量回写业务应用变更字段(公共)-归属对象类型编码不能为空", false);
                    Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getObjectId(), "D3修订业务应用变更字段(公共)-D3批量回写业务应用变更字段(公共)-归属对象内容ID不能为空", false);
                    Assert.isNull(batchWriteBackBizAppChangeColComReqDto.getSubjectLifeCycle(), "D3修订业务应用变更字段(公共)-D3批量回写业务应用变更字段(公共)-主体生命周期不能为空", false);
                    batchWriteBackBizAppChangeColComRespDto = batchWriteBackBizAppChangeColCom(batchWriteBackBizAppChangeColComReqDto);


                }
            }
        }
//processBranchName:正常结束 ,processBranchId:16067

        ReviseBizAppChangeColComRespDto retData = new ReviseBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3-13撤销存档业务应用变更字段(公共)[3888]
     * gen by moon at 10/6/2022, 1:53:09 AM
     */
    @Trace(operationName = "D3-13撤销存档业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UndoArchiveBizAppChangeColComRespDto undoArchiveBizAppChangeColCom(UndoArchiveBizAppChangeColComReqDto reqDto) {


        //步骤0: 3-13-02查询业务应用变更字段详情 - queryBizAppChangeColDetail
        OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = null;
        QueryBizAppChangeColDetailReq queryBizAppChangeColDetailReq = new QueryBizAppChangeColDetailReq();
        queryBizAppChangeColDetailReq.setSubjectUpdateStatus("ARCHIVE");//sourceId:315424_1
        queryBizAppChangeColDetailReq.setIsInproperties("FALSE");//sourceId:315427_1
        queryBizAppChangeColDetailReq.setSubjectLifeCycle("EDITING");//sourceId:315428_1
        if (reqDto != null) {
            queryBizAppChangeColDetailReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:315425_1
            queryBizAppChangeColDetailReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:315426_1
        }

        /*3-13-02查询业务应用变更字段详情[3897]   */
        Assert.isNull(queryBizAppChangeColDetailReq.getTableTypeCode(), "D3-13撤销存档业务应用变更字段(公共)-3-13-02查询业务应用变更字段详情-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColDetailReq.getEntityId(), "D3-13撤销存档业务应用变更字段(公共)-3-13-02查询业务应用变更字段详情-内容表主键ID不能为空", false);
        Assert.isNull(queryBizAppChangeColDetailReq.getSubjectUpdateStatus(), "D3-13撤销存档业务应用变更字段(公共)-3-13-02查询业务应用变更字段详情-主体批次下更新状态不能为空", false);
        Assert.isNull(queryBizAppChangeColDetailReq.getIsInproperties(), "D3-13撤销存档业务应用变更字段(公共)-3-13-02查询业务应用变更字段详情-是否内部属性不能为空", false);
        Assert.isNull(queryBizAppChangeColDetailReq.getSubjectLifeCycle(), "D3-13撤销存档业务应用变更字段(公共)-3-13-02查询业务应用变更字段详情-主体生命周期不能为空", false);
        omsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColDetail(queryBizAppChangeColDetailReq);


//步骤1: 3-13-02删除业务应用变更字段 - deleteBizAppChangeCol
        boolean bOOLEAN;
        if (omsBasicInstanceChangeColumn != null) {
            String string = new String();
            if (omsBasicInstanceChangeColumn != null) {
                string = omsBasicInstanceChangeColumn.getChangeColumnId();
                ;//SimpleFieldAssign//sourceId:315430_1
            }

            /*3-13-02删除业务应用变更字段[3898]   */
            Assert.isNull(string, "D3-13撤销存档业务应用变更字段(公共)-3-13-02删除业务应用变更字段-变更字段记录ID不能为空", false);
            bOOLEAN = mOmsBasicInstanceChangeColumnService.deleteBizAppChangeCol(string);


        }

        UndoArchiveBizAppChangeColComRespDto retData = new UndoArchiveBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3-判断业务应用重置修订元素[4790]
     * gen by moon at 10/8/2022, 3:04:43 AM
     */
    @Trace(operationName = "D3-判断业务应用重置修订元素")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public JudgeAppReviseElementRespDto judgeAppReviseElement(JudgeAppReviseElementReqDto reqDto) {


        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn_1 = new ArrayList<>();
//步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setIsInproperties("TRUE");//sourceId:370692_1
        queryBizAppChangeColListReq.setSubjectUpdateStatus("REVISION");//sourceId:370691_1
        queryBizAppChangeColListReq.setSubjectLifeCycle("EDITING");//sourceId:370693_1
        if (reqDto != null) {
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:370689_1
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:370690_1
        }

        /*3-13-02查询业务应用变更字段列表[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getTableTypeCode(), "D3-判断业务应用重置修订元素-3-13-02查询业务应用变更字段列表-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getEntityId(), "D3-判断业务应用重置修订元素-3-13-02查询业务应用变更字段列表-内容表主键ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getIsInproperties(), "D3-判断业务应用重置修订元素-3-13-02查询业务应用变更字段列表-是否内部属性不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectUpdateStatus(), "D3-判断业务应用重置修订元素-3-13-02查询业务应用变更字段列表-主体批次下更新状态不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3-判断业务应用重置修订元素-3-13-02查询业务应用变更字段列表-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq);


        listOmsBasicInstanceChangeColumn_1 = listOmsBasicInstanceChangeColumn;

        JudgeAppReviseElementRespDto retData = new JudgeAppReviseElementRespDto();
        retData.setBizAppChangeColList(listOmsBasicInstanceChangeColumn_1.stream().map(item -> item.getChangeColumnId())
                .collect(Collectors.toList()));/*list-to-strings*///sourceId:370697_1


        return retData;
    }

    /**
     * D3-13删除业务应用变更字段(公共)[4808]
     * gen by moon at 3/11/2023, 9:54:29 PM
     */
    @Trace(operationName = "D3-13删除业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteBizAppChangeColComRespDto deleteBizAppChangeColCom(DeleteBizAppChangeColComReqDto reqDto) {


        //步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        if (reqDto != null) {
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:373494_1
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:373495_1
        }

        /*3-13-02查询业务应用变更字段列表[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getTableTypeCode(), "D3-13删除业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getEntityId(), "D3-13删除业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-内容表主键ID不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 3-13-02批量删业务应用变更字段 - batchDeleteBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<String> listString = new ArrayList<>();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                listString = listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                        .collect(Collectors.toList());/*list-to-strings*///sourceId:373491_1
            }

            /*3-13-02批量删业务应用变更字段[3614]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchDeleteBizAppChangeCol(listString)/*vcase invoke 本地 method 方法调用;*/;


        }

        DeleteBizAppChangeColComRespDto retData = new DeleteBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3撤销修订业务应用变更字段(公共)[3891]
     * gen by moon at 11/4/2022, 2:12:05 AM
     */
    @Trace(operationName = "D3撤销修订业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UndoReviseBizAppChangeColComRespDto undoReviseBizAppChangeColCom(UndoReviseBizAppChangeColComReqDto reqDto) {


        //步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setIsInproperties("TRUE");//sourceId:196638_1
        queryBizAppChangeColListReq.setSubjectLifeCycle("EDITING");//sourceId:196639_1
        if (reqDto != null) {
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:196636_1
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:196637_1
        }

        /*3-13-02查询修订的变更记录[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getTableTypeCode(), "D3撤销修订业务应用变更字段(公共)-3-13-02查询修订的变更记录-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getEntityId(), "D3撤销修订业务应用变更字段(公共)-3-13-02查询修订的变更记录-内容表主键ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getIsInproperties(), "D3撤销修订业务应用变更字段(公共)-3-13-02查询修订的变更记录-是否内部属性不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3撤销修订业务应用变更字段(公共)-3-13-02查询修订的变更记录-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq);
        Assert.isTrue(listOmsBasicInstanceChangeColumn == null || CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) || listOmsBasicInstanceChangeColumn == null || CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) || listOmsBasicInstanceChangeColumn.size() == 0, "返回值不能为空", false);


//步骤1: 3-13-02批量删业务应用变更字段 - batchDeleteBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<String> listString = new ArrayList<>();
            listString = listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                    .collect(Collectors.toList());/*list-to-strings*///sourceId:196643_1

            /*3-13-02批量删业务应用变更字段[3614]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchDeleteBizAppChangeCol(listString);


        }

        UndoReviseBizAppChangeColComRespDto retData = new UndoReviseBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3-新增指标变更字段等(公共)[5134]
     * gen by moon at 5/31/2023, 8:18:02 PM
     */
    @Trace(operationName = "D3-新增指标变更字段等(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddTargetObjChangeRecordEtcComRespDto addTargetObjChangeRecordEtcCom(AddTargetObjChangeRecordEtcComReqDto reqDto) {


        //virtualUsage 3-3-03查指标详情  21135
        OmsTargetObjective omsTargetObjective = null;
        QueryTargetObjDetailReq queryTargetObjDetailReq = new QueryTargetObjDetailReq();
        queryTargetObjDetailReq.setIsArchive("FALSE");//sourceId:737465_1_21135
        if (reqDto != null) {
            queryTargetObjDetailReq.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:421389_1_21135
            queryTargetObjDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:737467_1_21135
        }

        /*3-3-03查指标详情[2697]   */
        Assert.isNull(queryTargetObjDetailReq.getObjectiveId(), "D3-新增指标变更字段等(公共)-3-3-03查指标详情-指标ID不能为空", false);
        Assert.isNull(queryTargetObjDetailReq.getEvaluationTemplateId(), "D3-新增指标变更字段等(公共)-3-3-03查指标详情-冗余评价模板ID不能为空", false);
        Assert.isNull(queryTargetObjDetailReq.getIsArchive(), "D3-新增指标变更字段等(公共)-3-3-03查指标详情-是否存档不能为空", false);
        omsTargetObjective = mOmsTargetObjectiveService.queryTargetObjDetail(queryTargetObjDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 3-13-02查询业务应用变更字段详情  21161
        OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = null;
        if (omsTargetObjective != null) {
            QueryBizAppChangeColDetailReq queryBizAppChangeColDetailReq = new QueryBizAppChangeColDetailReq();
            queryBizAppChangeColDetailReq.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:421197_1_21161
            queryBizAppChangeColDetailReq.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:421516_1_21161
            queryBizAppChangeColDetailReq.setIsInproperties("FALSE");//sourceId:421199_1_21161
            if (reqDto != null) {
                queryBizAppChangeColDetailReq.setEntityId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:421198_1_21161
                queryBizAppChangeColDetailReq.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:421515_1_21161
            }
            if (omsTargetObjective != null) {
                queryBizAppChangeColDetailReq.setSubjectLifeCycle(omsTargetObjective.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:998251_1_21161
            }

            /*3-13-02查询业务应用变更字段详情[3897]   */
            Assert.isNull(queryBizAppChangeColDetailReq.getTableTypeCode(), "D3-新增指标变更字段等(公共)-3-13-02查询业务应用变更字段详情-内容表类型编码不能为空", false);
            Assert.isNull(queryBizAppChangeColDetailReq.getEntityId(), "D3-新增指标变更字段等(公共)-3-13-02查询业务应用变更字段详情-内容表主键ID不能为空", false);
            Assert.isNull(queryBizAppChangeColDetailReq.getObjectTypeCode(), "D3-新增指标变更字段等(公共)-3-13-02查询业务应用变更字段详情-归属对象类型编码不能为空", false);
            Assert.isNull(queryBizAppChangeColDetailReq.getObjectId(), "D3-新增指标变更字段等(公共)-3-13-02查询业务应用变更字段详情-归属对象内容ID不能为空", false);
            Assert.isNull(queryBizAppChangeColDetailReq.getIsInproperties(), "D3-新增指标变更字段等(公共)-3-13-02查询业务应用变更字段详情-是否内部属性不能为空", false);
            Assert.isNull(queryBizAppChangeColDetailReq.getSubjectLifeCycle(), "D3-新增指标变更字段等(公共)-3-13-02查询业务应用变更字段详情-主体生命周期不能为空", false);
            omsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColDetail(queryBizAppChangeColDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        }
        if ((omsBasicInstanceChangeColumn == null || omsBasicInstanceChangeColumn != null && omsBasicInstanceChangeColumn.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
            //if((3-13-02查询业务应用变更字段详情.出参 值等于空  or 3-13-02查询业务应用变更字段详情.主体生命周期 等于 当前有效))  21162

            OmsEvaluationTemplate omsEvaluationTemplate = null;
            QueryEvaTempDetailReq queryEvaTempDetailReq = new QueryEvaTempDetailReq();
            queryEvaTempDetailReq.setIsArchive("FALSE");//sourceId:421486_1_21172
            if (reqDto != null) {
                queryEvaTempDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:421480_1_21172
            }

            /*3-2-02查评价模板详情[2316]   */
            Assert.isNull(queryEvaTempDetailReq.getEvaluationTemplateId(), "D3-新增指标变更字段等(公共)-3-2-02查评价模板详情-评价模板ID不能为空", false);
            Assert.isNull(queryEvaTempDetailReq.getIsArchive(), "D3-新增指标变更字段等(公共)-3-2-02查评价模板详情-是否存档不能为空", false);
            omsEvaluationTemplate = mOmsEvaluationTemplateService.queryEvaTempDetail(queryEvaTempDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            AddBizAppChangeColComRespDto addBizAppChangeColComRespDto = null;
            if (omsTargetObjective != null && omsEvaluationTemplate != null) {
                AddBizAppChangeColComReqDto addBizAppChangeColComReqDto = new AddBizAppChangeColComReqDto();
                addBizAppChangeColComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:421179_1_21163
                addBizAppChangeColComReqDto.setEntityName("objectiveId");//CUSTOM_CONVENTION//sourceId:421180_1_21163
                addBizAppChangeColComReqDto.setObjectPropertyCode("objectiveId");//CUSTOM_CONVENTION//sourceId:421182_1_21163
                addBizAppChangeColComReqDto.setObjectPropertyName("加新观测点");//CUSTOM_CONVENTION//sourceId:421183_1_21163
                addBizAppChangeColComReqDto.setOriColumnContent("无");//CUSTOM_CONVENTION//sourceId:421186_1_21163
                addBizAppChangeColComReqDto.setSubjectTypeCode("MID_TARGET_DIVISION_LOG_NAV");//sourceId:421187_1_21163
                addBizAppChangeColComReqDto.setSubjectChangeType("ADD_VIEW_POINT");//CUSTOM_CONVENTION//sourceId:421188_1_21163
                addBizAppChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:421189_1_21163
                if (reqDto != null) {
                    addBizAppChangeColComReqDto.setEntityId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:421181_1_21163
                    addBizAppChangeColComReqDto.setMetaDataColumnContent(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:421184_1_21163
                    addBizAppChangeColComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:421190_1_21163
                    addBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:421191_1_21163
                    addBizAppChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:421192_1_21163
                }
                if (omsTargetObjective != null) {
                    addBizAppChangeColComReqDto.setColumnContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:421185_1_21163
                }
                if (omsEvaluationTemplate != null) {
                    addBizAppChangeColComReqDto.setSubjectContAffiliationParentCont(omsEvaluationTemplate.getEvaluationTempShortName());//SimpleFieldAssign//sourceId:421193_1_21163
                }

                /*D3-13新增业务应用变更字段(初次)[3885]   */
                Assert.isNull(addBizAppChangeColComReqDto.getTableTypeCode(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-内容表类型编码不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getEntityName(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-内容表主键字段英文名不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getEntityId(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-内容表主键ID不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getObjectPropertyCode(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-变更字段英文名不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getObjectPropertyName(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-变更字段行为日志名称不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getMetaDataColumnContent(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-变更字段原始值不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getColumnContent(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-变更后字段中文内容不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getOriColumnContent(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-变更前字段中文内容不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getSubjectTypeCode(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-主体类型编码不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getSubjectChangeType(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-主体变更日志类型不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getObjectTypeCode(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-归属对象类型编码不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getObjectId(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-归属对象内容ID不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getBatchCode(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-批次标识不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getBatchCurrentStatus(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-批次现状不能为空", false);
                Assert.isNull(addBizAppChangeColComReqDto.getSubjectContAffiliationParentCont(), "D3-新增指标变更字段等(公共)-D3-13新增业务应用变更字段(初次)-主体内容归属父对象不能为空", false);
                addBizAppChangeColComRespDto = addBizAppChangeColCom(addBizAppChangeColComReqDto)/*vcase invoke 同服务,同domain*/;


            }
            if ((omsTargetObjective != null && omsTargetObjective.getSubjectLifeCycle() != null && omsTargetObjective.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
                //if(3-3-03查指标详情.主体生命周期 等于 当前有效)  43715

                boolean bOOLEAN;
                if (omsBasicInstanceChangeColumn != null) {
                    OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_2 = new OmsBasicInstanceChangeColumn();
                    omsBasicInstanceChangeColumn_2.setBatchEndTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998327_1_43718
                    omsBasicInstanceChangeColumn_2.setSubjectLifeCycle("ARCHIVING");//sourceId:998328_1_43718
                    omsBasicInstanceChangeColumn_2.setIsArchive("TRUE");//sourceId:998329_1_43718
                    omsBasicInstanceChangeColumn_2.setArchivngType("ARCHIVED");//sourceId:998330_1_43718
                    omsBasicInstanceChangeColumn_2.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:998331_1_43718
                    omsBasicInstanceChangeColumn_2.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998332_1_43718
                    omsBasicInstanceChangeColumn_2.setArchiveInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:998337_1_43718
                    omsBasicInstanceChangeColumn_2.setArchiveTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998338_1_43718
                    if (omsBasicInstanceChangeColumn != null) {
                        omsBasicInstanceChangeColumn_2.setChangeColumnId(omsBasicInstanceChangeColumn.getChangeColumnId());//SimpleFieldAssign//sourceId:998326_1_43718
                    }

                    /*3-13-02存档业务应用变更字段（原变更字段记录）[4501]   */
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getChangeColumnId(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-变更字段记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getBatchEndTime(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-批次结束时间不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getSubjectLifeCycle(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-主体生命周期不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getIsArchive(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-是否存档不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getArchivngType(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-存档类型不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getOperationInductionId(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-操作人就职记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getOperateTime(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-操作时间不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getArchiveInductionId(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-归档人就职记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_2.getArchiveTime(), "D3-新增指标变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-归档时间不能为空", false);
                    bOOLEAN = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_2)/*vcase invoke 本地 method 方法调用;*/;


                }
                boolean bOOLEAN_1;
                if (addBizAppChangeColComRespDto != null) {
                    OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_3 = new OmsBasicInstanceChangeColumn();
                    omsBasicInstanceChangeColumn_3.setIsEditing("FALSE");//sourceId:998320_1_43719
                    omsBasicInstanceChangeColumn_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:998321_1_43719
                    omsBasicInstanceChangeColumn_3.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:998333_1_43719
                    omsBasicInstanceChangeColumn_3.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998334_1_43719
                    if (addBizAppChangeColComRespDto != null) {
                        omsBasicInstanceChangeColumn_3.setChangeColumnId(addBizAppChangeColComRespDto.getChangeColumnId());//SimpleFieldAssign//sourceId:998318_1_43719
                    }

                    /*3-13-02更新业务应用变更字段（当前有效）[4501]   */
                    Assert.isNull(omsBasicInstanceChangeColumn_3.getChangeColumnId(), "D3-新增指标变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-变更字段记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_3.getIsEditing(), "D3-新增指标变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-是否未来不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_3.getSubjectLifeCycle(), "D3-新增指标变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-主体生命周期不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_3.getReleaseInductionId(), "D3-新增指标变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-发布人就职记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_3.getReleaseTime(), "D3-新增指标变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-发布时间不能为空", false);
                    bOOLEAN_1 = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_3)/*vcase invoke 本地 method 方法调用;*/;


                }
            }
        } else if ((omsBasicInstanceChangeColumn != null)) {
            //elseif(3-13-02查询业务应用变更字段详情.出参 值不等于空 )  21171

            boolean bOOLEAN_2;
            if (omsBasicInstanceChangeColumn != null && omsTargetObjective != null) {
                OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_4 = new OmsBasicInstanceChangeColumn();
                omsBasicInstanceChangeColumn_4.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:422210_1_21173
                omsBasicInstanceChangeColumn_4.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:422212_1_21173
                if (omsBasicInstanceChangeColumn != null) {
                    omsBasicInstanceChangeColumn_4.setChangeColumnId(omsBasicInstanceChangeColumn.getChangeColumnId());//SimpleFieldAssign//sourceId:422198_1_21173
                }
                if (reqDto != null) {
                    omsBasicInstanceChangeColumn_4.setMetaDataColumnContent(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:422201_1_21173
                }
                if (omsTargetObjective != null) {
                    omsBasicInstanceChangeColumn_4.setColumnContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:422203_1_21173
                    omsBasicInstanceChangeColumn_4.setSubjectLifeCycle(omsTargetObjective.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:998230_1_21173
                    omsBasicInstanceChangeColumn_4.setIsArchive(omsTargetObjective.getIsArchive());//SimpleFieldAssign//sourceId:998231_1_21173
                    omsBasicInstanceChangeColumn_4.setArchivngType(omsTargetObjective.getArchivngType());//SimpleFieldAssign//sourceId:998232_1_21173
                }

                /*3-13-02修改业务应用变更字段[4501]   */
                Assert.isNull(omsBasicInstanceChangeColumn_4.getChangeColumnId(), "D3-新增指标变更字段等(公共)-3-13-02修改业务应用变更字段-变更字段记录ID不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn_4.getMetaDataColumnContent(), "D3-新增指标变更字段等(公共)-3-13-02修改业务应用变更字段-变更字段原始值不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn_4.getColumnContent(), "D3-新增指标变更字段等(公共)-3-13-02修改业务应用变更字段-变更后字段中文内容不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn_4.getOperationInductionId(), "D3-新增指标变更字段等(公共)-3-13-02修改业务应用变更字段-操作人就职记录ID不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn_4.getOperateTime(), "D3-新增指标变更字段等(公共)-3-13-02修改业务应用变更字段-操作时间不能为空", false);
                bOOLEAN_2 = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_4)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
//processBranchName:正常结束 ,processBranchId:21153

        AddTargetObjChangeRecordEtcComRespDto retData = new AddTargetObjChangeRecordEtcComRespDto();


        return retData;
    }

    /**
     * D3执行循环记录变更字段(公共)[5206]
     * gen by moon at 12/6/2022, 7:38:10 PM
     */
    @Trace(operationName = "D3执行循环记录变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementLoopTargetChangeColComRespDto implementLoopTargetChangeColCom(ImplementLoopTargetChangeColComReqDto reqDto) {


        //步骤0: M3执行业务应用构造出入参字段（特殊方法） - implementBizConstructAccessParameterField
        //ModelCode: receptionService
        ImplementBizConstructAccessParameterFieldRespDto receptionServiceRes = null;
        ImplementBizConstructAccessParameterFieldReqDto receptionServiceReq = new ImplementBizConstructAccessParameterFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:439288_1
            receptionServiceReq.setBatchEndtTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:439289_1
            receptionServiceReq.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:439290_1
            receptionServiceReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:439291_1
            receptionServiceReq.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:439294_1
            receptionServiceReq.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:439295_1
            receptionServiceReq.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:439239_1
            receptionServiceReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:439240_1
            receptionServiceReq.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:439238_1
            receptionServiceReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:439275_1
            receptionServiceReq.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:439286_1
        }
        if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
            receptionServiceReq.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439282_1
        }

        /*M3执行业务应用构造出入参字段（特殊方法）[4518]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getIsEditing(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-是否未来不能为空", false);
        Assert.isNull(receptionServiceReq.getSubjectLifeCycle(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-主体生命周期不能为空", false);
        Assert.isNull(receptionServiceReq.getSubjectTypeCode(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-主体类型编码不能为空", false);
        Assert.isNull(receptionServiceReq.getSubjectChangeType(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-主体变更日志类型不能为空", false);
        Assert.isNull(receptionServiceReq.getObjectTypeCode(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-归属对象类型编码不能为空", false);
        Assert.isNull(receptionServiceReq.getObjectId(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-归属对象内容ID不能为空", false);
        Assert.isNull(receptionServiceReq.getReviseSubjectContent(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-修订主体内容不能为空", false);
        Assert.isNull(receptionServiceReq.getTableTypeCode(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-内容表类型编码不能为空", false);
        Assert.isNull(receptionServiceReq.getEntityName(), "D3执行循环记录变更字段(公共)-M3执行业务应用构造出入参字段（特殊方法）-内容表主键字段英文名不能为空", false);
        receptionServiceRes = nbChangeColumn.implementBizConstructAccessParameterField(receptionServiceReq);


//步骤1: M3-13-02执行业务变更字段【循环开始】 - implementBizChangeColLoopStart
        //ModelCode: circulationCollections
        for (String circulationCollectionsRes : reqDto.getBizAppChangeColList()) {


//步骤2: M3-13-02执行字段过滤相同变更记录列表（特殊方法） - implementFieldFilterIdenticalChangeColumn
            //ModelCode: dataFilterSpecRecBy
            ImplementFieldFilterIdenticalChangeColumnRespDto dataFilterSpecRecByRes = null;
            ImplementFieldFilterIdenticalChangeColumnReqDto dataFilterSpecRecByReq = new ImplementFieldFilterIdenticalChangeColumnReqDto();
            if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
                dataFilterSpecRecByReq.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439264_1
            }
            if (circulationCollectionsRes != null) {
                //todo 这里手写代码不能合并
                dataFilterSpecRecByReq.setEntityId(circulationCollectionsRes);//SimpleFieldAssign//sourceId:439263_1
            }

    /*M3-13-02执行字段过滤相同变更记录列表（特殊方法）[5207]  目前用于购物车步骤判断。入参：步骤数据集+三个步骤字段（字段名与数据集中步骤编码相同）
处理逻辑：入参步骤字段值不为1，则将数据集中步骤编码同名的记录从出参数据集中删除 */
            Assert.isNull(dataFilterSpecRecByReq.getEntityId(), "D3执行循环记录变更字段(公共)-M3-13-02执行字段过滤相同变更记录列表（特殊方法）-内容表主键ID不能为空", false);
            dataFilterSpecRecByRes = nbChangeColumn.implementFieldFilterIdenticalChangeColumn(dataFilterSpecRecByReq);


//步骤3: D3修订业务应用变更字段(公共) - reviseBizAppChangeColCom
            ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto = null;
            ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto = new ReviseBizAppChangeColComReqDto();
            if (reqDto != null) {
                reviseBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:439241_1
                reviseBizAppChangeColComReqDto.setBatchEndtTime(reqDto.getBatchEndtTime());//SimpleFieldAssign//sourceId:439243_1
                reviseBizAppChangeColComReqDto.setIsEditing(reqDto.getIsEditing());//SimpleFieldAssign//sourceId:439244_1
                reviseBizAppChangeColComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:439245_1
                reviseBizAppChangeColComReqDto.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:439246_1
                reviseBizAppChangeColComReqDto.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:439247_1
                reviseBizAppChangeColComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:439248_1
                reviseBizAppChangeColComReqDto.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:439250_1
                reviseBizAppChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:439251_1
                reviseBizAppChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:439252_1
                reviseBizAppChangeColComReqDto.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:439254_1
            }
            if (circulationCollectionsRes != null) {
                //todo 这里手写代码不能合并
                reviseBizAppChangeColComReqDto.setEntityId(circulationCollectionsRes);//SimpleFieldAssign//sourceId:439249_1
            }
            if (dataFilterSpecRecByRes != null && dataFilterSpecRecByRes.getChangeColumnList() != null && !CollectionUtil.isEmpty(dataFilterSpecRecByRes.getChangeColumnList())) {
                reviseBizAppChangeColComReqDto.setChangeColumnList(dataFilterSpecRecByRes.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439253_1
            }

            /*D3修订业务应用变更字段(公共)[3889]   */
            Assert.isNull(reviseBizAppChangeColComReqDto.getIsEditing(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-是否未来不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectLifeCycle(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体生命周期不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectTypeCode(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体类型编码不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectChangeType(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getTableTypeCode(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getEntityName(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键字段英文名不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getEntityId(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getObjectTypeCode(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getObjectId(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空", false);
            Assert.isNull(reviseBizAppChangeColComReqDto.getReviseSubjectContent(), "D3执行循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-修订主体内容不能为空", false);
            reviseBizAppChangeColComRespDto = reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto);


//步骤4: M3-执行【循环结束】 - implementEndCycle
            //ModelCode: circulationEnd
        }


        ImplementLoopTargetChangeColComRespDto retData = new ImplementLoopTargetChangeColComRespDto();


        return retData;
    }

    /**
     * D3执行单一合并业务应用变更字段(公共)[5211]
     * gen by moon at 11/17/2022, 9:09:45 PM
     */
    @Trace(operationName = "D3执行单一合并业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementSingleMergebizAppChangeColComRespDto implementSingleMergebizAppChangeColCom(ImplementSingleMergebizAppChangeColComReqDto reqDto) {


        ImplementBizAppContentDetailsMergeFieldsRespDto mergeChangeColumnDetailRes_1 = null;
//步骤0: 3-13-02查询业务应用变更字段列表 - queryBizAppChangeColList
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        QueryBizAppChangeColListReq queryBizAppChangeColListReq = new QueryBizAppChangeColListReq();
        queryBizAppChangeColListReq.setIsInproperties("TRUE");//sourceId:439826_1
        queryBizAppChangeColListReq.setSubjectUpdateStatus("REVISION");//sourceId:439825_1
        queryBizAppChangeColListReq.setSubjectLifeCycle("EDITING");//sourceId:439827_1
        if (reqDto != null) {
            queryBizAppChangeColListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:439823_1
            queryBizAppChangeColListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:439824_1
        }

        /*3-13-02查询业务应用变更字段列表[3609]   */
        Assert.isNull(queryBizAppChangeColListReq.getTableTypeCode(), "D3执行单一合并业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-内容表类型编码不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getEntityId(), "D3执行单一合并业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-内容表主键ID不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getIsInproperties(), "D3执行单一合并业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-是否内部属性不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectUpdateStatus(), "D3执行单一合并业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-主体批次下更新状态不能为空", false);
        Assert.isNull(queryBizAppChangeColListReq.getSubjectLifeCycle(), "D3执行单一合并业务应用变更字段(公共)-3-13-02查询业务应用变更字段列表-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColList(queryBizAppChangeColListReq);


//步骤1: M3执行业务应用内容详情合并字段（特殊方法） - implementBizAppContentDetailsMergeFields
        //ModelCode: mergeChangeColumnDetail
        ImplementBizAppContentDetailsMergeFieldsRespDto mergeChangeColumnDetailRes = null;
        ImplementBizAppContentDetailsMergeFieldsReqDto mergeChangeColumnDetailReq = new ImplementBizAppContentDetailsMergeFieldsReqDto();
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
            mergeChangeColumnDetailReq.setBizAppChangeColList(listOmsBasicInstanceChangeColumn.stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439797_1
        }
        if (reqDto != null) {
            mergeChangeColumnDetailReq.setTargetCycleName(reqDto.getTargetCycleName());//SimpleFieldAssign//sourceId:439798_1
            mergeChangeColumnDetailReq.setCyclelAlias(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:439799_1
            mergeChangeColumnDetailReq.setWeightValue(reqDto.getWeightValue());//SimpleFieldAssign//sourceId:439806_1
            mergeChangeColumnDetailReq.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:439807_1
            mergeChangeColumnDetailReq.setTargetValue(reqDto.getTargetValue());//SimpleFieldAssign//sourceId:439802_1
            mergeChangeColumnDetailReq.setTargetDiagnosticValue(reqDto.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:439803_1
        }

        /*M3执行业务应用内容详情合并字段（特殊方法）[3920]  通过合并标识，将第二个数据集的数据覆盖第一个入参的数据 */

        mergeChangeColumnDetailRes = nbChangeColumn.implementBizAppContentDetailsMergeFields(mergeChangeColumnDetailReq);


        mergeChangeColumnDetailRes_1 = mergeChangeColumnDetailRes;

        ImplementSingleMergebizAppChangeColComRespDto retData = new ImplementSingleMergebizAppChangeColComRespDto();
        if (mergeChangeColumnDetailRes_1 != null) {
            retData.setTargetCycleName(mergeChangeColumnDetailRes_1.getTargetCycleName());//SimpleFieldAssign//sourceId:439837_1
            retData.setCyclelAlias(mergeChangeColumnDetailRes_1.getCyclelAlias());//SimpleFieldAssign//sourceId:439838_1
            retData.setWeightValue(mergeChangeColumnDetailRes_1.getWeightValue());//SimpleFieldAssign//sourceId:439839_1
            retData.setWeightScore(mergeChangeColumnDetailRes_1.getWeightScore());//SimpleFieldAssign//sourceId:439840_1
            retData.setTargetValue(mergeChangeColumnDetailRes_1.getTargetValue());//SimpleFieldAssign//sourceId:439841_1
            retData.setTargetDiagnosticValue(mergeChangeColumnDetailRes_1.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:439842_1
        }


        return retData;
    }

    /**
     * D3执行数据集合并业务应用变更字段(公共)[5212]
     * gen by moon at 11/20/2022, 3:03:54 PM
     */
    @Trace(operationName = "D3执行数据集合并业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColCom(ImplementDataSetMergebizAppChangeColComReqDto reqDto) {


        ImplementSeparateKeyClassPropertyCodeRespDto mergeChangeColumnListRes_1 = null;
//步骤0: 3-13-02批量查询业务应用变更字段by内容表主键ID - batchQueryBizAppChangeCol
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        BatchQueryBizAppChangeColReq batchQueryBizAppChangeColReq = new BatchQueryBizAppChangeColReq();
        batchQueryBizAppChangeColReq.setSubjectUpdateStatus("REVISION");//sourceId:439850_1
        batchQueryBizAppChangeColReq.setIsInproperties("TRUE");//sourceId:439851_1
        batchQueryBizAppChangeColReq.setSubjectLifeCycle("EDITING");//sourceId:439853_1
        if (reqDto != null) {
            batchQueryBizAppChangeColReq.setBizAppChangeColList(reqDto.getBizAppChangeColList());//list-field-assign//sourceId:439849_1
            batchQueryBizAppChangeColReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:439852_1
        }

        /*3-13-02批量查询业务应用变更字段by内容表主键ID[5213]   */
        Assert.isNull(batchQueryBizAppChangeColReq.getTableTypeCode(), "D3执行数据集合并业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段by内容表主键ID-内容表类型编码不能为空", false);
        Assert.isNull(batchQueryBizAppChangeColReq.getSubjectUpdateStatus(), "D3执行数据集合并业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段by内容表主键ID-主体批次下更新状态不能为空", false);
        Assert.isNull(batchQueryBizAppChangeColReq.getIsInproperties(), "D3执行数据集合并业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段by内容表主键ID-是否内部属性不能为空", false);
        Assert.isNull(batchQueryBizAppChangeColReq.getSubjectLifeCycle(), "D3执行数据集合并业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段by内容表主键ID-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.batchQueryBizAppChangeCol(batchQueryBizAppChangeColReq);


//步骤1: M3执行分离同类主键变更字段（特殊方法） - implementSeparateKeyClassPropertyCode
        //ModelCode: mergeChangeColumnList
        ImplementSeparateKeyClassPropertyCodeRespDto mergeChangeColumnListRes = null;
        ImplementSeparateKeyClassPropertyCodeReqDto mergeChangeColumnListReq = new ImplementSeparateKeyClassPropertyCodeReqDto();
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
            mergeChangeColumnListReq.setSeparateKeyClassPropertyCodeList(listOmsBasicInstanceChangeColumn.stream().map(item -> BeanUtil.toBean(item, SeparateKeyClassPropertyCodeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439864_1
        }
        if (reqDto != null && reqDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(reqDto.getEvaObjTargetCycleList())) {
            mergeChangeColumnListReq.setEvaObjTargetCycleList(reqDto.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439868_1
        }
        if (reqDto != null && reqDto.getEvaObjTargetCycleWeightList() != null && !CollectionUtil.isEmpty(reqDto.getEvaObjTargetCycleWeightList())) {
            mergeChangeColumnListReq.setEvaObjTargetCycleWeightList(reqDto.getEvaObjTargetCycleWeightList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleWeightDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439870_1
        }
        if (reqDto != null && reqDto.getEvaObjTargetCycleOsetList() != null && !CollectionUtil.isEmpty(reqDto.getEvaObjTargetCycleOsetList())) {
            mergeChangeColumnListReq.setEvaObjTargetCycleOsetList(reqDto.getEvaObjTargetCycleOsetList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleOsetDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439869_1
        }

        /*M3执行分离同类主键变更字段（特殊方法）[5214]  通过合并标识，将第二个数据集的数据覆盖第一个数据集数据 */

        mergeChangeColumnListRes = nbChangeColumn.implementSeparateKeyClassPropertyCode(mergeChangeColumnListReq);


        mergeChangeColumnListRes_1 = mergeChangeColumnListRes;

        ImplementDataSetMergebizAppChangeColComRespDto retData = new ImplementDataSetMergebizAppChangeColComRespDto();
        if (mergeChangeColumnListRes_1 != null) {
            retData.setEvaObjTargetCycleList(mergeChangeColumnListRes_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439876_1
            retData.setEvaObjTargetCycleWeightList(mergeChangeColumnListRes_1.getEvaObjTargetCycleWeightList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleWeightDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439877_1
            retData.setEvaObjTargetCycleOsetList(mergeChangeColumnListRes_1.getEvaObjTargetCycleOsetList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleOsetDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439878_1
        }


        return retData;
    }

    /**
     * D3批量撤销业务应用变更字段(公共)[5226]
     * gen by moon at 11/18/2022, 7:32:34 PM
     */
    @Trace(operationName = "D3批量撤销业务应用变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchUndoBizAppChangeColComRespDto batchUndoBizAppChangeColCom(BatchUndoBizAppChangeColComReqDto reqDto) {


        //步骤0: 3-13-02批量查询业务应用变更字段by内容表主键ID - batchQueryBizAppChangeCol
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        BatchQueryBizAppChangeColReq batchQueryBizAppChangeColReq = new BatchQueryBizAppChangeColReq();
        batchQueryBizAppChangeColReq.setSubjectUpdateStatus("REVISION");//sourceId:441599_1
        batchQueryBizAppChangeColReq.setIsInproperties("TRUE");//sourceId:441600_1
        batchQueryBizAppChangeColReq.setSubjectLifeCycle("EDITING");//sourceId:441602_1
        if (reqDto != null) {
            batchQueryBizAppChangeColReq.setBizAppChangeColList(reqDto.getBizAppChangeColList());//list-field-assign//sourceId:441598_1
            batchQueryBizAppChangeColReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:441601_1
        }

        /*3-13-02批量查询业务应用变更字段[5213]   */
        Assert.isNull(batchQueryBizAppChangeColReq.getTableTypeCode(), "D3批量撤销业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段-内容表类型编码不能为空", false);
        Assert.isNull(batchQueryBizAppChangeColReq.getSubjectUpdateStatus(), "D3批量撤销业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段-主体批次下更新状态不能为空", false);
        Assert.isNull(batchQueryBizAppChangeColReq.getIsInproperties(), "D3批量撤销业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段-是否内部属性不能为空", false);
        Assert.isNull(batchQueryBizAppChangeColReq.getSubjectLifeCycle(), "D3批量撤销业务应用变更字段(公共)-3-13-02批量查询业务应用变更字段-主体生命周期不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.batchQueryBizAppChangeCol(batchQueryBizAppChangeColReq);
        Assert.isTrue(listOmsBasicInstanceChangeColumn == null || CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) || listOmsBasicInstanceChangeColumn == null || CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) || listOmsBasicInstanceChangeColumn.size() == 0, "找不到数据，系统异常", false);


//步骤1: 3-13-02批量删业务应用变更字段 - batchDeleteBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<String> listString = new ArrayList<>();
            listString = listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                    .collect(Collectors.toList());/*list-to-strings*///sourceId:441604_1

            /*3-13-02批量删业务应用变更字段[3614]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchDeleteBizAppChangeCol(listString);


        }

        BatchUndoBizAppChangeColComRespDto retData = new BatchUndoBizAppChangeColComRespDto();


        return retData;
    }

    /**
     * D3-新增目标内容变更字段等(公共)[5400]
     * gen by moon at 5/31/2023, 8:18:31 PM
     */
    @Trace(operationName = "D3-新增目标内容变更字段等(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddTargetContChangeRecordEtcComRespDto addTargetContChangeRecordEtcCom(AddTargetContChangeRecordEtcComReqDto reqDto) {


        //virtualUsage 3-2-02查评价模板详情  23815
        OmsEvaluationTemplate omsEvaluationTemplate = null;
        QueryEvaTempDetailReq queryEvaTempDetailReq = new QueryEvaTempDetailReq();
        queryEvaTempDetailReq.setIsArchive("FALSE");//sourceId:488469_1_23815
        if (reqDto != null) {
            queryEvaTempDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:488463_1_23815
        }

        /*3-2-02查评价模板详情[2316]   */
        Assert.isNull(queryEvaTempDetailReq.getEvaluationTemplateId(), "D3-新增目标内容变更字段等(公共)-3-2-02查评价模板详情-评价模板ID不能为空", false);
        Assert.isNull(queryEvaTempDetailReq.getIsArchive(), "D3-新增目标内容变更字段等(公共)-3-2-02查评价模板详情-是否存档不能为空", false);
        omsEvaluationTemplate = mOmsEvaluationTemplateService.queryEvaTempDetail(queryEvaTempDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((reqDto != null && reqDto.getTableTypeCode() != null && reqDto.getTableTypeCode().equals("OMS_TARGET_CATEGORY"))) {
            //if(D3-新增目标内容变更字段等(公共).冗余内容表类型编码 等于 目标分类表)  23810

            OmsTargetCategory omsTargetCategory = null;
            QueryTargetCatDetailReq queryTargetCatDetailReq = new QueryTargetCatDetailReq();
            queryTargetCatDetailReq.setIsArchive("FALSE");//sourceId:737472_1_23811
            if (reqDto != null) {
                queryTargetCatDetailReq.setTargetCategoryId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488516_1_23811
                queryTargetCatDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:488575_1_23811
            }

            /*3-3-02查目标分类详情[2595]   */
            Assert.isNull(queryTargetCatDetailReq.getTargetCategoryId(), "D3-新增目标内容变更字段等(公共)-3-3-02查目标分类详情-目标分类ID不能为空", false);
            Assert.isNull(queryTargetCatDetailReq.getEvaluationTemplateId(), "D3-新增目标内容变更字段等(公共)-3-3-02查目标分类详情-冗余评价模板ID不能为空", false);
            Assert.isNull(queryTargetCatDetailReq.getIsArchive(), "D3-新增目标内容变更字段等(公共)-3-3-02查目标分类详情-是否存档不能为空", false);
            omsTargetCategory = mOmsTargetCategoryService.queryTargetCatDetail(queryTargetCatDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = null;
            if (omsTargetCategory != null) {
                QueryBizAppChangeColDetailReq queryBizAppChangeColDetailReq = new QueryBizAppChangeColDetailReq();
                queryBizAppChangeColDetailReq.setIsInproperties("FALSE");//sourceId:488458_1_23812
                queryBizAppChangeColDetailReq.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:488462_1_23812
                if (reqDto != null) {
                    queryBizAppChangeColDetailReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:488456_1_23812
                    queryBizAppChangeColDetailReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488457_1_23812
                }
                if (omsTargetCategory != null) {
                    queryBizAppChangeColDetailReq.setObjectId(omsTargetCategory.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:488461_1_23812
                    queryBizAppChangeColDetailReq.setSubjectLifeCycle(omsTargetCategory.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:488459_1_23812
                }

                /*3-13-02查询业务应用变更字段详情[3897]   */
                Assert.isNull(queryBizAppChangeColDetailReq.getTableTypeCode(), "D3-新增目标内容变更字段等(公共)-3-13-02查询业务应用变更字段详情-内容表类型编码不能为空", false);
                Assert.isNull(queryBizAppChangeColDetailReq.getEntityId(), "D3-新增目标内容变更字段等(公共)-3-13-02查询业务应用变更字段详情-内容表主键ID不能为空", false);
                Assert.isNull(queryBizAppChangeColDetailReq.getIsInproperties(), "D3-新增目标内容变更字段等(公共)-3-13-02查询业务应用变更字段详情-是否内部属性不能为空", false);
                Assert.isNull(queryBizAppChangeColDetailReq.getObjectTypeCode(), "D3-新增目标内容变更字段等(公共)-3-13-02查询业务应用变更字段详情-归属对象类型编码不能为空", false);
                Assert.isNull(queryBizAppChangeColDetailReq.getObjectId(), "D3-新增目标内容变更字段等(公共)-3-13-02查询业务应用变更字段详情-归属对象内容ID不能为空", false);
                Assert.isNull(queryBizAppChangeColDetailReq.getSubjectLifeCycle(), "D3-新增目标内容变更字段等(公共)-3-13-02查询业务应用变更字段详情-主体生命周期不能为空", false);
                omsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.queryBizAppChangeColDetail(queryBizAppChangeColDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            }
            if ((omsBasicInstanceChangeColumn == null || omsBasicInstanceChangeColumn != null && omsBasicInstanceChangeColumn.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
                //if((3-13-02查询业务应用变更字段详情.出参 值等于空  or 3-13-02查询业务应用变更字段详情.主体生命周期 等于 当前有效))  23813

                AddBizAppChangeColComRespDto addBizAppChangeColComRespDto = null;
                if (omsTargetCategory != null && omsEvaluationTemplate != null) {
                    AddBizAppChangeColComReqDto addBizAppChangeColComReqDto = new AddBizAppChangeColComReqDto();
                    addBizAppChangeColComReqDto.setEntityName("targetCategoryId");//CUSTOM_CONVENTION//sourceId:488493_1_23816
                    addBizAppChangeColComReqDto.setObjectPropertyCode("targetCategoryId");//CUSTOM_CONVENTION//sourceId:488495_1_23816
                    addBizAppChangeColComReqDto.setObjectPropertyName("加新建设任务");//CUSTOM_CONVENTION//sourceId:488496_1_23816
                    addBizAppChangeColComReqDto.setOriColumnContent("无");//CUSTOM_CONVENTION//sourceId:488499_1_23816
                    addBizAppChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:488500_1_23816
                    addBizAppChangeColComReqDto.setSubjectChangeType("ADD_CONSTRUCTION_TASK");//CUSTOM_CONVENTION//sourceId:488501_1_23816
                    addBizAppChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:488502_1_23816
                    if (reqDto != null) {
                        addBizAppChangeColComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:488492_1_23816
                        addBizAppChangeColComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488494_1_23816
                        addBizAppChangeColComReqDto.setMetaDataColumnContent(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488497_1_23816
                        addBizAppChangeColComReqDto.setObjectId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488503_1_23816
                        addBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:488504_1_23816
                        addBizAppChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:488505_1_23816
                    }
                    if (omsTargetCategory != null) {
                        addBizAppChangeColComReqDto.setColumnContent(omsTargetCategory.getTargetCategoryName());//SimpleFieldAssign//sourceId:488498_1_23816
                    }
                    if (omsEvaluationTemplate != null) {
                        addBizAppChangeColComReqDto.setSubjectContAffiliationParentCont(omsEvaluationTemplate.getEvaluationTempShortName());//SimpleFieldAssign//sourceId:488506_1_23816
                    }

                    /*D3-13新增业务应用变更字段(公共)[3885]   */
                    Assert.isNull(addBizAppChangeColComReqDto.getTableTypeCode(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-内容表类型编码不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getEntityName(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-内容表主键字段英文名不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getEntityId(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-内容表主键ID不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getObjectPropertyCode(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-变更字段英文名不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getObjectPropertyName(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-变更字段行为日志名称不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getMetaDataColumnContent(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-变更字段原始值不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getColumnContent(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-变更后字段中文内容不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getOriColumnContent(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-变更前字段中文内容不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getSubjectTypeCode(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-主体类型编码不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getSubjectChangeType(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-主体变更日志类型不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getObjectTypeCode(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-归属对象类型编码不能为空", false);
                    Assert.isNull(addBizAppChangeColComReqDto.getObjectId(), "D3-新增目标内容变更字段等(公共)-D3-13新增业务应用变更字段(公共)-归属对象内容ID不能为空", false);
                    addBizAppChangeColComRespDto = addBizAppChangeColCom(addBizAppChangeColComReqDto)/*vcase invoke 同服务,同domain*/;


                }
                if ((omsBasicInstanceChangeColumn != null && omsBasicInstanceChangeColumn.getSubjectLifeCycle() != null && omsBasicInstanceChangeColumn.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
                    //if(3-13-02查询业务应用变更字段详情.主体生命周期 等于 当前有效)  43722

                    boolean bOOLEAN;
                    if (omsBasicInstanceChangeColumn != null) {
                        OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_2 = new OmsBasicInstanceChangeColumn();
                        omsBasicInstanceChangeColumn_2.setBatchEndTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998393_1_43723
                        omsBasicInstanceChangeColumn_2.setSubjectLifeCycle("ARCHIVING");//sourceId:998395_1_43723
                        omsBasicInstanceChangeColumn_2.setIsArchive("TRUE");//sourceId:998396_1_43723
                        omsBasicInstanceChangeColumn_2.setArchivngType("ARCHIVED");//sourceId:998397_1_43723
                        omsBasicInstanceChangeColumn_2.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:998398_1_43723
                        omsBasicInstanceChangeColumn_2.setArchiveInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:998399_1_43723
                        omsBasicInstanceChangeColumn_2.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998400_1_43723
                        omsBasicInstanceChangeColumn_2.setArchiveTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998401_1_43723
                        if (omsBasicInstanceChangeColumn != null) {
                            omsBasicInstanceChangeColumn_2.setChangeColumnId(omsBasicInstanceChangeColumn.getChangeColumnId());//SimpleFieldAssign//sourceId:998392_1_43723
                        }

                        /*3-13-02存档业务应用变更字段（原变更字段记录）[4501]   */
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getChangeColumnId(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-变更字段记录ID不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getBatchEndTime(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-批次结束时间不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getSubjectLifeCycle(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-主体生命周期不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getIsArchive(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-是否存档不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getArchivngType(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-存档类型不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getOperationInductionId(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-操作人就职记录ID不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getArchiveInductionId(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-归档人就职记录ID不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getOperateTime(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-操作时间不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_2.getArchiveTime(), "D3-新增目标内容变更字段等(公共)-3-13-02存档业务应用变更字段（原变更字段记录）-归档时间不能为空", false);
                        bOOLEAN = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_2)/*vcase invoke 本地 method 方法调用;*/;


                    }
                    boolean bOOLEAN_1;
                    if (addBizAppChangeColComRespDto != null) {
                        OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_3 = new OmsBasicInstanceChangeColumn();
                        omsBasicInstanceChangeColumn_3.setIsEditing("FALSE");//sourceId:998417_1_43724
                        omsBasicInstanceChangeColumn_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:998418_1_43724
                        omsBasicInstanceChangeColumn_3.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:998419_1_43724
                        omsBasicInstanceChangeColumn_3.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:998420_1_43724
                        if (addBizAppChangeColComRespDto != null) {
                            omsBasicInstanceChangeColumn_3.setChangeColumnId(addBizAppChangeColComRespDto.getChangeColumnId());//SimpleFieldAssign//sourceId:998416_1_43724
                        }

                        /*3-13-02更新业务应用变更字段（当前有效）[4501]   */
                        Assert.isNull(omsBasicInstanceChangeColumn_3.getChangeColumnId(), "D3-新增目标内容变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-变更字段记录ID不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_3.getIsEditing(), "D3-新增目标内容变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-是否未来不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_3.getSubjectLifeCycle(), "D3-新增目标内容变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-主体生命周期不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_3.getReleaseInductionId(), "D3-新增目标内容变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-发布人就职记录ID不能为空", false);
                        Assert.isNull(omsBasicInstanceChangeColumn_3.getReleaseTime(), "D3-新增目标内容变更字段等(公共)-3-13-02更新业务应用变更字段（当前有效）-发布时间不能为空", false);
                        bOOLEAN_1 = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_3)/*vcase invoke 本地 method 方法调用;*/;


                    }
                }
            } else {
                //else  23817

                boolean bOOLEAN_2;
                if (omsBasicInstanceChangeColumn != null && omsTargetCategory != null) {
                    OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn_4 = new OmsBasicInstanceChangeColumn();
                    omsBasicInstanceChangeColumn_4.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:488561_1_23818
                    omsBasicInstanceChangeColumn_4.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:488563_1_23818
                    if (omsBasicInstanceChangeColumn != null) {
                        omsBasicInstanceChangeColumn_4.setChangeColumnId(omsBasicInstanceChangeColumn.getChangeColumnId());//SimpleFieldAssign//sourceId:488549_1_23818
                    }
                    if (reqDto != null) {
                        omsBasicInstanceChangeColumn_4.setMetaDataColumnContent(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488552_1_23818
                    }
                    if (omsTargetCategory != null) {
                        omsBasicInstanceChangeColumn_4.setColumnContent(omsTargetCategory.getTargetCategoryName());//SimpleFieldAssign//sourceId:488554_1_23818
                    }

                    /*3-13-02修改业务应用变更字段[4501]   */
                    Assert.isNull(omsBasicInstanceChangeColumn_4.getChangeColumnId(), "D3-新增目标内容变更字段等(公共)-3-13-02修改业务应用变更字段-变更字段记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_4.getMetaDataColumnContent(), "D3-新增目标内容变更字段等(公共)-3-13-02修改业务应用变更字段-变更字段原始值不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_4.getColumnContent(), "D3-新增目标内容变更字段等(公共)-3-13-02修改业务应用变更字段-变更后字段中文内容不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_4.getOperationInductionId(), "D3-新增目标内容变更字段等(公共)-3-13-02修改业务应用变更字段-操作人就职记录ID不能为空", false);
                    Assert.isNull(omsBasicInstanceChangeColumn_4.getOperateTime(), "D3-新增目标内容变更字段等(公共)-3-13-02修改业务应用变更字段-操作时间不能为空", false);
                    bOOLEAN_2 = mOmsBasicInstanceChangeColumnService.updateBizAppChangeCol(omsBasicInstanceChangeColumn_4)/*vcase invoke 本地 method 方法调用;*/;


                }
            }
        } else if ((reqDto != null && reqDto.getTableTypeCode() != null && reqDto.getTableTypeCode().equals("OMS_TARGET_OBJECTIVE"))) {
            //elseif(D3-新增目标内容变更字段等(公共).冗余内容表类型编码 等于 指标表)  23819

            AddTargetObjChangeRecordEtcComRespDto addTargetObjChangeRecordEtcComRespDto = null;
            AddTargetObjChangeRecordEtcComReqDto addTargetObjChangeRecordEtcComReqDto = new AddTargetObjChangeRecordEtcComReqDto();
            if (reqDto != null) {
                addTargetObjChangeRecordEtcComReqDto.setObjectiveId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:488594_1_23824
                addTargetObjChangeRecordEtcComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:737468_1_23824
                addTargetObjChangeRecordEtcComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:488596_1_23824
                addTargetObjChangeRecordEtcComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:737469_1_23824
            }

            /*D3-新增指标变更字段等(公共)[5134]   */
            Assert.isNull(addTargetObjChangeRecordEtcComReqDto.getObjectiveId(), "D3-新增目标内容变更字段等(公共)-D3-新增指标变更字段等(公共)-指标ID不能为空", false);
            Assert.isNull(addTargetObjChangeRecordEtcComReqDto.getEvaluationTemplateId(), "D3-新增目标内容变更字段等(公共)-D3-新增指标变更字段等(公共)-冗余评价模板ID不能为空", false);
            Assert.isNull(addTargetObjChangeRecordEtcComReqDto.getBatchCurrentStatus(), "D3-新增目标内容变更字段等(公共)-D3-新增指标变更字段等(公共)-批次现状不能为空", false);
            Assert.isNull(addTargetObjChangeRecordEtcComReqDto.getBatchCode(), "D3-新增目标内容变更字段等(公共)-D3-新增指标变更字段等(公共)-批次标识不能为空", false);
            addTargetObjChangeRecordEtcComRespDto = addTargetObjChangeRecordEtcCom(addTargetObjChangeRecordEtcComReqDto)/*vcase invoke 同服务,同domain*/;


        }
//processBranchName:正常结束 ,processBranchId:23822

        AddTargetContChangeRecordEtcComRespDto retData = new AddTargetContChangeRecordEtcComRespDto();


        return retData;
    }

    /**
     * D3执行权重循环记录变更字段(公共)[5459]
     * gen by moon at 12/18/2022, 1:11:06 AM
     */
    @Trace(operationName = "D3执行权重循环记录变更字段(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementWeightLoopTargetChangeColComRespDto implementWeightLoopTargetChangeColCom(ImplementWeightLoopTargetChangeColComReqDto reqDto) {


//virtualUsage 3-3-09查当前有效目标父子中周期列表  25045
        List<OmsEvaluationObjectTargetCycle> listOmsEvaluationObjectTargetCycle = new ArrayList<>();
        QueryEvaObjTargetCycleListReq queryEvaObjTargetCycleListReq = new QueryEvaObjTargetCycleListReq();
        queryEvaObjTargetCycleListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:510367_1_25045
        if (reqDto != null) {
            queryEvaObjTargetCycleListReq.setParentEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:510361_1_25045
            queryEvaObjTargetCycleListReq.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:510362_1_25045
            queryEvaObjTargetCycleListReq.setEvaObjTableTypeCode(reqDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:510363_1_25045
            queryEvaObjTargetCycleListReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:510364_1_25045
            queryEvaObjTargetCycleListReq.setTreeTypeCode(reqDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:510365_1_25045
            queryEvaObjTargetCycleListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:510366_1_25045
        }

        /*3-3-09查当前有效目标父子中周期列表[2190]   */
        Assert.isNull(queryEvaObjTargetCycleListReq.getParentEvaObjTargetCycleId(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-上级被评对象目标周期标识不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleListReq.getEvaObjEntityId(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleListReq.getEvaObjTableTypeCode(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-被评对象内容表类型编码不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleListReq.getEvaObjTypeCode(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-被评对象类型编码不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleListReq.getTreeTypeCode(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-树类型编码不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleListReq.getEvaluationTemplateId(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-冗余评价模板ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleListReq.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-3-3-09查当前有效目标父子中周期列表-主体生命周期不能为空", false);
        listOmsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleList(queryEvaObjTargetCycleListReq);
        Assert.isTrue(listOmsEvaluationObjectTargetCycle == null || CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) || listOmsEvaluationObjectTargetCycle == null || CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) || listOmsEvaluationObjectTargetCycle.size() == 0, "找不到数据，系统异常", false);


//virtualUsage 3-3-09-02批量查被评对象目标周期权重列表  25096
        List<OmsEvaObjTargetCycleWeightSet> listOmsEvaObjTargetCycleWeightSet = new ArrayList<>();
        if (listOmsEvaluationObjectTargetCycle != null && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) && listOmsEvaluationObjectTargetCycle.size() > 0) {
            BatchQueryEvaObjTargetCycleWeightListReq batchQueryEvaObjTargetCycleWeightListReq = new BatchQueryEvaObjTargetCycleWeightListReq();
            batchQueryEvaObjTargetCycleWeightListReq.setEvaObjTargetCycleWeightList(listOmsEvaluationObjectTargetCycle.stream().map(item -> item.getEvaObjTargetCycleId())
                    .collect(Collectors.toList()));/*list-to-strings*///sourceId:513613_1_25096
            batchQueryEvaObjTargetCycleWeightListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:513612_1_25096
            if (reqDto != null) {
                batchQueryEvaObjTargetCycleWeightListReq.setWeightObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:513611_1_25096
                batchQueryEvaObjTargetCycleWeightListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:513617_1_25096
            }

            /*3-3-09-02批量查被评对象目标周期权重列表[2247]   */
            Assert.isNull(batchQueryEvaObjTargetCycleWeightListReq.getWeightObjTypeCode(), "D3执行权重循环记录变更字段(公共)-3-3-09-02批量查被评对象目标周期权重列表-权重设置对象类型编码不能为空", false);
            Assert.isNull(batchQueryEvaObjTargetCycleWeightListReq.getEvaluationTemplateId(), "D3执行权重循环记录变更字段(公共)-3-3-09-02批量查被评对象目标周期权重列表-冗余评价模板ID不能为空", false);
            Assert.isNull(batchQueryEvaObjTargetCycleWeightListReq.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-3-3-09-02批量查被评对象目标周期权重列表-主体生命周期不能为空", false);
            listOmsEvaObjTargetCycleWeightSet = mOmsEvaObjTargetCycleWeightSetService.batchQueryEvaObjTargetCycleWeightList(batchQueryEvaObjTargetCycleWeightListReq);
            Assert.isTrue(listOmsEvaObjTargetCycleWeightSet == null || CollectionUtil.isEmpty(listOmsEvaObjTargetCycleWeightSet) || listOmsEvaObjTargetCycleWeightSet == null || CollectionUtil.isEmpty(listOmsEvaObjTargetCycleWeightSet) || listOmsEvaObjTargetCycleWeightSet.size() == 0, "找不到数据，系统异常", false);


        }
        if ((reqDto != null && reqDto.getCloneSubCycle() != null && reqDto.getCloneSubCycle().equals("0") && reqDto != null && reqDto.getIsMetaphase() != null && reqDto.getIsMetaphase().equals("FALSE"))) {
            //if((D3执行权重循环记录变更字段(公共).用于判断克隆子中周期 等于 0 and D3执行权重循环记录变更字段(公共).是否中期 等于 否))  25037

//ModelCode: circulationCollections
            for (OmsEvaObjTargetCycleWeightSet circulationCollectionsRes : listOmsEvaObjTargetCycleWeightSet) {

//ModelCode: dataFilterSpecRecBy
                ImplementFieldFilterIdenticalChangeColumnRespDto dataFilterSpecRecByRes = null;
                ImplementFieldFilterIdenticalChangeColumnReqDto dataFilterSpecRecByReq = new ImplementFieldFilterIdenticalChangeColumnReqDto();
                if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
                    dataFilterSpecRecByReq.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:510021_1_25042
                }
                if (circulationCollectionsRes != null) {
                    dataFilterSpecRecByReq.setEntityId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:510020_1_25042
                }

    /*M3-13-02执行字段过滤相同变更记录列表（特殊方法）[5207]  目前用于购物车步骤判断。入参：步骤数据集+三个步骤字段（字段名与数据集中步骤编码相同）
处理逻辑：入参步骤字段值不为1，则将数据集中步骤编码同名的记录从出参数据集中删除 */
                Assert.isNull(dataFilterSpecRecByReq.getEntityId(), "D3执行权重循环记录变更字段(公共)-M3-13-02执行字段过滤相同变更记录列表（特殊方法）-内容表主键ID不能为空", false);
                dataFilterSpecRecByRes = nbChangeColumn.implementFieldFilterIdenticalChangeColumn(dataFilterSpecRecByReq);


                ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto = null;
                ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto = new ReviseBizAppChangeColComReqDto();
                reviseBizAppChangeColComReqDto.setBatchEndtTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:510025_1_25043
                reviseBizAppChangeColComReqDto.setIsEditing("TRUE");//sourceId:510026_1_25043
                reviseBizAppChangeColComReqDto.setSubjectLifeCycle("EDITING");//sourceId:510027_1_25043
                reviseBizAppChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:510028_1_25043
                reviseBizAppChangeColComReqDto.setSubjectChangeType("CHANGE_WEIGHT");//CUSTOM_CONVENTION//sourceId:510029_1_25043
                reviseBizAppChangeColComReqDto.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET");//sourceId:510030_1_25043
                reviseBizAppChangeColComReqDto.setEntityName("objTargetCycleWeightSetId");//CUSTOM_CONVENTION//sourceId:510032_1_25043
                reviseBizAppChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:510033_1_25043
                if (reqDto != null) {
                    reviseBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:510023_1_25043
                    reviseBizAppChangeColComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:510034_1_25043
                    reviseBizAppChangeColComReqDto.setReviseSubjectContent(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:510036_1_25043
                }
                if (circulationCollectionsRes != null) {
                    reviseBizAppChangeColComReqDto.setEntityId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:510031_1_25043
                }
                if (dataFilterSpecRecByRes != null && dataFilterSpecRecByRes.getChangeColumnList() != null && !CollectionUtil.isEmpty(dataFilterSpecRecByRes.getChangeColumnList())) {
                    reviseBizAppChangeColComReqDto.setChangeColumnList(dataFilterSpecRecByRes.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:510035_1_25043
                }

                /*D3修订业务应用变更字段(公共)[3889]   */
                Assert.isNull(reviseBizAppChangeColComReqDto.getBatchCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-批次标识不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getBatchEndtTime(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-批次结束时间不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getIsEditing(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-是否未来不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体生命周期不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectChangeType(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getTableTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getEntityName(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键字段英文名不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getEntityId(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getObjectTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getObjectId(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto.getReviseSubjectContent(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-修订主体内容不能为空", false);
                reviseBizAppChangeColComRespDto = reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto);


//ModelCode: circulationEnd
            }

        } else if ((reqDto != null && reqDto.getCloneSubCycle() != null && reqDto.getCloneSubCycle().equals("1"))) {
            //elseif(D3执行权重循环记录变更字段(公共).用于判断克隆子中周期 等于 1)  25038

            QueryWeightFusionTargetContentListComRespDto queryWeightFusionTargetContentListComRespDto = null;
            if (listOmsEvaluationObjectTargetCycle != null && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) && listOmsEvaluationObjectTargetCycle.size() > 0) {
                QueryWeightFusionTargetContentListComReqDto queryWeightFusionTargetContentListComReqDto = new QueryWeightFusionTargetContentListComReqDto();
                queryWeightFusionTargetContentListComReqDto.setEvaObjTargetCycleWeightList(listOmsEvaluationObjectTargetCycle.stream().map(item -> item.getEvaObjTargetCycleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:510368_1_25047
                queryWeightFusionTargetContentListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:510371_1_25047
                if (reqDto != null) {
                    queryWeightFusionTargetContentListComReqDto.setWeightObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:510369_1_25047
                    queryWeightFusionTargetContentListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:510370_1_25047
                }

                /*D3查询权重融合目标内容列表(公共)[5458]   */
                Assert.isNull(queryWeightFusionTargetContentListComReqDto.getWeightObjTypeCode(), "D3执行权重循环记录变更字段(公共)-D3查询权重融合目标内容列表(公共)-权重设置对象类型编码不能为空", false);
                Assert.isNull(queryWeightFusionTargetContentListComReqDto.getEvaluationTemplateId(), "D3执行权重循环记录变更字段(公共)-D3查询权重融合目标内容列表(公共)-冗余评价模板ID不能为空", false);
                Assert.isNull(queryWeightFusionTargetContentListComReqDto.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-D3查询权重融合目标内容列表(公共)-主体生命周期不能为空", false);
                queryWeightFusionTargetContentListComRespDto = evaSystemService.queryWeightFusionTargetContentListCom(queryWeightFusionTargetContentListComReqDto);
                Assert.isTrue(queryWeightFusionTargetContentListComRespDto == null || queryWeightFusionTargetContentListComRespDto.getEvaObjTargetCycleWeightList() == null || CollectionUtil.isEmpty(queryWeightFusionTargetContentListComRespDto.getEvaObjTargetCycleWeightList()) || queryWeightFusionTargetContentListComRespDto.getEvaObjTargetCycleWeightList().size() == 0, "找不到数据，系统异常", false);


            }
//ModelCode: mainTableAnalyseChangeColumn
            ImplementMainTableAnalyseChangeColumnRespDto mainTableAnalyseChangeColumnRes = null;
            if (queryWeightFusionTargetContentListComRespDto != null) {
                ImplementMainTableAnalyseChangeColumnReqDto mainTableAnalyseChangeColumnReq = new ImplementMainTableAnalyseChangeColumnReqDto();
                if (queryWeightFusionTargetContentListComRespDto != null && queryWeightFusionTargetContentListComRespDto.getEvaObjTargetCycleWeightList() != null && !CollectionUtil.isEmpty(queryWeightFusionTargetContentListComRespDto.getEvaObjTargetCycleWeightList())) {
                    mainTableAnalyseChangeColumnReq.setEvaObjTargetCycleWeightList(queryWeightFusionTargetContentListComRespDto.getEvaObjTargetCycleWeightList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleWeightDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:510374_1_25049
                }

    /*M3执行主表记录转化变更字段（目标内容）[5456]  入参数据集A，B。
A数据集来源主表，B数据集来源变更记录。 */

                mainTableAnalyseChangeColumnRes = nbChangeColumn.implementMainTableAnalyseChangeColumn(mainTableAnalyseChangeColumnReq);
                Assert.isTrue(mainTableAnalyseChangeColumnRes == null || mainTableAnalyseChangeColumnRes.getChangeColumnList() == null || CollectionUtil.isEmpty(mainTableAnalyseChangeColumnRes.getChangeColumnList()) || mainTableAnalyseChangeColumnRes.getChangeColumnList().size() == 0, "找不到数据，系统异常", false);


            }
//ModelCode: retainFrontCoverBackChangeColum
            ImplementRetainFrontCoverBackChangeColumnRespDto retainFrontCoverBackChangeColumRes = null;
            ImplementRetainFrontCoverBackChangeColumnReqDto retainFrontCoverBackChangeColumReq = new ImplementRetainFrontCoverBackChangeColumnReqDto();
            if (mainTableAnalyseChangeColumnRes != null && mainTableAnalyseChangeColumnRes.getChangeColumnList() != null && !CollectionUtil.isEmpty(mainTableAnalyseChangeColumnRes.getChangeColumnList())) {
                retainFrontCoverBackChangeColumReq.setBizAppChangeColList(mainTableAnalyseChangeColumnRes.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:510379_1_25051
            }
            if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
                retainFrontCoverBackChangeColumReq.setChangeColumnList(//objList-to-objLists
                        reqDto.getChangeColumnList().stream().map(item -> {
                            ChangeColumnDto elm = new ChangeColumnDto();
                            if (item != null) {
                                elm.setEntityId(item.getEntityId());//SimpleFieldAssign//sourceId:132244_2_25051
                                elm.setCustomField(item.getTargetCycleContentId());//SimpleFieldAssign//sourceId:132245_2_25051
                                elm.setObjectPropertyCode(item.getObjectPropertyCode());//SimpleFieldAssign//sourceId:132239_2_25051
                                elm.setObjectPropertyName(item.getObjectPropertyName());//SimpleFieldAssign//sourceId:132240_2_25051
                                elm.setMetaDataColumnContent(item.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:132241_2_25051
                                elm.setOriColumnContent(item.getOriColumnContent());//SimpleFieldAssign//sourceId:132242_2_25051
                                elm.setColumnContent(item.getColumnContent());//SimpleFieldAssign//sourceId:132243_2_25051
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:510380_1_25051
            }

            /*M3执行保留前覆盖后端变更字段（目标内容）[5457]  入参A，B数据集。通过指定字段，保留B数据集中A的记录，并完整的用A数据集中的记录覆盖B中对应的记录 */

            retainFrontCoverBackChangeColumRes = nbChangeColumn.implementRetainFrontCoverBackChangeColumn(retainFrontCoverBackChangeColumReq);


//ModelCode: circulationCollections
            for (OmsEvaObjTargetCycleWeightSet circulationCollectionsRes_2 : listOmsEvaObjTargetCycleWeightSet) {

//ModelCode: dataFilterSpecRecBy
                ImplementFieldFilterIdenticalChangeColumnRespDto dataFilterSpecRecByRes_2 = null;
                ImplementFieldFilterIdenticalChangeColumnReqDto dataFilterSpecRecByReq_1 = new ImplementFieldFilterIdenticalChangeColumnReqDto();
                if (retainFrontCoverBackChangeColumRes != null && retainFrontCoverBackChangeColumRes.getChangeColumnList() != null && !CollectionUtil.isEmpty(retainFrontCoverBackChangeColumRes.getChangeColumnList())) {
                    dataFilterSpecRecByReq_1.setChangeColumnList(retainFrontCoverBackChangeColumRes.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:510021_1_25053
                }
                if (circulationCollectionsRes_2 != null) {
                    dataFilterSpecRecByReq_1.setEntityId(circulationCollectionsRes_2.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:510020_1_25053
                }

    /*M3-13-02执行字段过滤相同变更记录列表（特殊方法）[5207]  目前用于购物车步骤判断。入参：步骤数据集+三个步骤字段（字段名与数据集中步骤编码相同）
处理逻辑：入参步骤字段值不为1，则将数据集中步骤编码同名的记录从出参数据集中删除 */
                Assert.isNull(dataFilterSpecRecByReq_1.getEntityId(), "D3执行权重循环记录变更字段(公共)-M3-13-02执行字段过滤相同变更记录列表（特殊方法）-内容表主键ID不能为空", false);
                dataFilterSpecRecByRes_2 = nbChangeColumn.implementFieldFilterIdenticalChangeColumn(dataFilterSpecRecByReq_1);


                ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto_1 = null;
                ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto_1 = new ReviseBizAppChangeColComReqDto();
                reviseBizAppChangeColComReqDto_1.setBatchEndtTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:510025_1_25054
                reviseBizAppChangeColComReqDto_1.setIsEditing("TRUE");//sourceId:510026_1_25054
                reviseBizAppChangeColComReqDto_1.setSubjectLifeCycle("EDITING");//sourceId:510027_1_25054
                reviseBizAppChangeColComReqDto_1.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:510028_1_25054
                reviseBizAppChangeColComReqDto_1.setSubjectChangeType("CHANGE_WEIGHT");//CUSTOM_CONVENTION//sourceId:510029_1_25054
                reviseBizAppChangeColComReqDto_1.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET");//sourceId:510030_1_25054
                reviseBizAppChangeColComReqDto_1.setEntityName("objTargetCycleWeightSetId");//CUSTOM_CONVENTION//sourceId:510032_1_25054
                reviseBizAppChangeColComReqDto_1.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:510033_1_25054
                if (reqDto != null) {
                    reviseBizAppChangeColComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:510023_1_25054
                    reviseBizAppChangeColComReqDto_1.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:510034_1_25054
                    reviseBizAppChangeColComReqDto_1.setReviseSubjectContent(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:510036_1_25054
                }
                if (circulationCollectionsRes_2 != null) {
                    reviseBizAppChangeColComReqDto_1.setEntityId(circulationCollectionsRes_2.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:510031_1_25054
                }
                if (dataFilterSpecRecByRes_2 != null && dataFilterSpecRecByRes_2.getChangeColumnList() != null && !CollectionUtil.isEmpty(dataFilterSpecRecByRes_2.getChangeColumnList())) {
                    reviseBizAppChangeColComReqDto_1.setChangeColumnList(dataFilterSpecRecByRes_2.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:510035_1_25054
                }

                /*D3修订业务应用变更字段(公共)[3889]   */
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getBatchCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-批次标识不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getBatchEndtTime(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-批次结束时间不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getIsEditing(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-是否未来不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体生命周期不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getSubjectTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getSubjectChangeType(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getTableTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getEntityName(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键字段英文名不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getEntityId(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getObjectTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getObjectId(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_1.getReviseSubjectContent(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-修订主体内容不能为空", false);
                reviseBizAppChangeColComRespDto_1 = reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto_1);


//ModelCode: circulationEnd
            }

        } else if ((reqDto != null && reqDto.getCloneSubCycle() != null && reqDto.getCloneSubCycle().equals("0") && reqDto != null && reqDto.getIsParentCycle() != null && reqDto.getIsParentCycle().equals("TRUE") && reqDto != null && reqDto.getIsMetaphase() != null && reqDto.getIsMetaphase().equals("TRUE"))) {
            //elseif((D3执行权重循环记录变更字段(公共).用于判断克隆子中周期 等于 0 and D3执行权重循环记录变更字段(公共).是否父周期 等于 是 and D3执行权重循环记录变更字段(公共).是否中期 等于 是))  25402

            QueryWeightFusionTargetContentListComRespDto queryWeightFusionTargetContentListComRespDto_2 = null;
            if (listOmsEvaluationObjectTargetCycle != null && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) && listOmsEvaluationObjectTargetCycle.size() > 0) {
                QueryWeightFusionTargetContentListComReqDto queryWeightFusionTargetContentListComReqDto_1 = new QueryWeightFusionTargetContentListComReqDto();
                queryWeightFusionTargetContentListComReqDto_1.setEvaObjTargetCycleWeightList(listOmsEvaluationObjectTargetCycle.stream().map(item -> item.getEvaObjTargetCycleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:510368_1_25403
                queryWeightFusionTargetContentListComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:510371_1_25403
                if (reqDto != null) {
                    queryWeightFusionTargetContentListComReqDto_1.setWeightObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:510369_1_25403
                    queryWeightFusionTargetContentListComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:510370_1_25403
                }

                /*D3查询权重融合目标内容列表(公共)[5458]   */
                Assert.isNull(queryWeightFusionTargetContentListComReqDto_1.getWeightObjTypeCode(), "D3执行权重循环记录变更字段(公共)-D3查询权重融合目标内容列表(公共)-权重设置对象类型编码不能为空", false);
                Assert.isNull(queryWeightFusionTargetContentListComReqDto_1.getEvaluationTemplateId(), "D3执行权重循环记录变更字段(公共)-D3查询权重融合目标内容列表(公共)-冗余评价模板ID不能为空", false);
                Assert.isNull(queryWeightFusionTargetContentListComReqDto_1.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-D3查询权重融合目标内容列表(公共)-主体生命周期不能为空", false);
                queryWeightFusionTargetContentListComRespDto_2 = evaSystemService.queryWeightFusionTargetContentListCom(queryWeightFusionTargetContentListComReqDto_1);
                Assert.isTrue(queryWeightFusionTargetContentListComRespDto_2 == null || queryWeightFusionTargetContentListComRespDto_2.getEvaObjTargetCycleWeightList() == null || CollectionUtil.isEmpty(queryWeightFusionTargetContentListComRespDto_2.getEvaObjTargetCycleWeightList()) || queryWeightFusionTargetContentListComRespDto_2.getEvaObjTargetCycleWeightList().size() == 0, "找不到数据，系统异常", false);


            }
//ModelCode: mainTableAnalyseChangeColumn
            ImplementMainTableAnalyseChangeColumnRespDto mainTableAnalyseChangeColumnRes_2 = null;
            if (queryWeightFusionTargetContentListComRespDto_2 != null) {
                ImplementMainTableAnalyseChangeColumnReqDto mainTableAnalyseChangeColumnReq_1 = new ImplementMainTableAnalyseChangeColumnReqDto();
                if (queryWeightFusionTargetContentListComRespDto_2 != null && queryWeightFusionTargetContentListComRespDto_2.getEvaObjTargetCycleWeightList() != null && !CollectionUtil.isEmpty(queryWeightFusionTargetContentListComRespDto_2.getEvaObjTargetCycleWeightList())) {
                    mainTableAnalyseChangeColumnReq_1.setEvaObjTargetCycleWeightList(queryWeightFusionTargetContentListComRespDto_2.getEvaObjTargetCycleWeightList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleWeightDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:527764_1_25405
                }

    /*M3执行主表记录转化变更字段（目标周期）[5456]  入参数据集A，B。
A数据集来源主表，B数据集来源变更记录。 */

                mainTableAnalyseChangeColumnRes_2 = nbChangeColumn.implementMainTableAnalyseChangeColumn(mainTableAnalyseChangeColumnReq_1);


            }
//ModelCode: retainFrontCoverBackChangeColum
            ImplementRetainFrontCoverBackChangeColumnRespDto retainFrontCoverBackChangeColumRes_2 = null;
            ImplementRetainFrontCoverBackChangeColumnReqDto retainFrontCoverBackChangeColumReq_1 = new ImplementRetainFrontCoverBackChangeColumnReqDto();
            if (mainTableAnalyseChangeColumnRes_2 != null && mainTableAnalyseChangeColumnRes_2.getChangeColumnList() != null && !CollectionUtil.isEmpty(mainTableAnalyseChangeColumnRes_2.getChangeColumnList())) {
                retainFrontCoverBackChangeColumReq_1.setBizAppChangeColList(mainTableAnalyseChangeColumnRes_2.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, BizAppChangeColDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:527798_1_25413
            }
            if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
                retainFrontCoverBackChangeColumReq_1.setChangeColumnList(//objList-to-objLists
                        reqDto.getChangeColumnList().stream().map(item -> {
                            ChangeColumnDto elm = new ChangeColumnDto();
                            if (item != null) {
                                elm.setEntityId(item.getEntityId());//SimpleFieldAssign//sourceId:136371_2_25413
                                elm.setCustomField(item.getEvaObjTargetCycleId() != null ? String.valueOf(item.getEvaObjTargetCycleId()) : "");//SimpleFieldAssign//sourceId:136372_2_25413
                                elm.setObjectPropertyCode(item.getObjectPropertyCode());//SimpleFieldAssign//sourceId:136366_2_25413
                                elm.setObjectPropertyName(item.getObjectPropertyName());//SimpleFieldAssign//sourceId:136367_2_25413
                                elm.setMetaDataColumnContent(item.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:136368_2_25413
                                elm.setOriColumnContent(item.getOriColumnContent());//SimpleFieldAssign//sourceId:136369_2_25413
                                elm.setColumnContent(item.getColumnContent());//SimpleFieldAssign//sourceId:136370_2_25413
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:527799_1_25413
            }

            /*M3执行保留前覆盖后端变更字段（目标周期）[5457]  入参A，B数据集。通过指定字段，保留B数据集中A的记录，并完整的用A数据集中的记录覆盖B中对应的记录 */

            retainFrontCoverBackChangeColumRes_2 = nbChangeColumn.implementRetainFrontCoverBackChangeColumn(retainFrontCoverBackChangeColumReq_1);


//ModelCode: circulationCollections
            for (OmsEvaObjTargetCycleWeightSet circulationCollectionsRes_3 : listOmsEvaObjTargetCycleWeightSet) {

//ModelCode: dataFilterSpecRecBy
                ImplementFieldFilterIdenticalChangeColumnRespDto dataFilterSpecRecByRes_3 = null;
                ImplementFieldFilterIdenticalChangeColumnReqDto dataFilterSpecRecByReq_2 = new ImplementFieldFilterIdenticalChangeColumnReqDto();
                if (retainFrontCoverBackChangeColumRes_2 != null) {
                    dataFilterSpecRecByReq_2.setChangeColumnList(retainFrontCoverBackChangeColumRes_2.getChangeColumnList());//list-field-assign//sourceId:510021_1_25409
                }
                if (circulationCollectionsRes_3 != null) {
                    dataFilterSpecRecByReq_2.setEntityId(circulationCollectionsRes_3.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:510020_1_25409
                }

    /*M3-13-02执行字段过滤相同变更记录列表（特殊方法）[5207]  目前用于购物车步骤判断。入参：步骤数据集+三个步骤字段（字段名与数据集中步骤编码相同）
处理逻辑：入参步骤字段值不为1，则将数据集中步骤编码同名的记录从出参数据集中删除 */
                Assert.isNull(dataFilterSpecRecByReq_2.getEntityId(), "D3执行权重循环记录变更字段(公共)-M3-13-02执行字段过滤相同变更记录列表（特殊方法）-内容表主键ID不能为空", false);
                dataFilterSpecRecByRes_3 = nbChangeColumn.implementFieldFilterIdenticalChangeColumn(dataFilterSpecRecByReq_2);


                ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto_2 = null;
                ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto_2 = new ReviseBizAppChangeColComReqDto();
                reviseBizAppChangeColComReqDto_2.setBatchEndtTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:510025_1_25410
                reviseBizAppChangeColComReqDto_2.setIsEditing("TRUE");//sourceId:510026_1_25410
                reviseBizAppChangeColComReqDto_2.setSubjectLifeCycle("EDITING");//sourceId:510027_1_25410
                reviseBizAppChangeColComReqDto_2.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:510028_1_25410
                reviseBizAppChangeColComReqDto_2.setSubjectChangeType("CHANGE_WEIGHT");//CUSTOM_CONVENTION//sourceId:510029_1_25410
                reviseBizAppChangeColComReqDto_2.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET");//sourceId:510030_1_25410
                reviseBizAppChangeColComReqDto_2.setEntityName("objTargetCycleWeightSetId");//CUSTOM_CONVENTION//sourceId:510032_1_25410
                reviseBizAppChangeColComReqDto_2.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:510033_1_25410
                if (reqDto != null) {
                    reviseBizAppChangeColComReqDto_2.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:510023_1_25410
                    reviseBizAppChangeColComReqDto_2.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:510034_1_25410
                    reviseBizAppChangeColComReqDto_2.setReviseSubjectContent(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:510036_1_25410
                }
                if (circulationCollectionsRes_3 != null) {
                    reviseBizAppChangeColComReqDto_2.setEntityId(circulationCollectionsRes_3.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:510031_1_25410
                }
                if (dataFilterSpecRecByRes_3 != null && dataFilterSpecRecByRes_3.getChangeColumnList() != null && !CollectionUtil.isEmpty(dataFilterSpecRecByRes_3.getChangeColumnList())) {
                    reviseBizAppChangeColComReqDto_2.setChangeColumnList(//objList-to-objLists
                            dataFilterSpecRecByRes_3.getChangeColumnList().stream().map(item -> {
                                ChangeColumnDto elm = new ChangeColumnDto();
                                if (item != null) {
                                    elm.setObjectPropertyCode(item.getObjectPropertyCode());//SimpleFieldAssign//sourceId:132114_2_25410
                                    elm.setObjectPropertyName(item.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:132115_2_25410
                                    elm.setMetaDataColumnContent(item.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:132116_2_25410
                                    elm.setOriColumnContent(item.getOriColumnContent());//SimpleFieldAssign//sourceId:132117_2_25410
                                    elm.setColumnContent(item.getColumnContent());//SimpleFieldAssign//sourceId:132118_2_25410
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:510035_1_25410
                }

                /*D3修订业务应用变更字段(公共)[3889]   */
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getBatchCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-批次标识不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getBatchEndtTime(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-批次结束时间不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getIsEditing(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-是否未来不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getSubjectLifeCycle(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体生命周期不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getSubjectTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getSubjectChangeType(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getTableTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getEntityName(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键字段英文名不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getEntityId(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getObjectTypeCode(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getObjectId(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空", false);
                Assert.isNull(reviseBizAppChangeColComReqDto_2.getReviseSubjectContent(), "D3执行权重循环记录变更字段(公共)-D3修订业务应用变更字段(公共)-修订主体内容不能为空", false);
                reviseBizAppChangeColComRespDto_2 = reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto_2);


//ModelCode: circulationEnd
            }

        } else {
            //else  25039

//异常结束 25040
            throw new BizException("500", "系统异常，请联系管理员！", false);
        }
        ImplementWeightLoopTargetChangeColComRespDto retData = new ImplementWeightLoopTargetChangeColComRespDto();


        return retData;
    }

    /**
     * D3新增回退单字段变更记录(公共)[6348]
     * gen by moon at 5/22/2023, 9:00:57 PM
     */
    @Trace(operationName = "D3新增回退单字段变更记录(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddReviseSingleChangeColComRespDto addReviseSingleChangeColCom(AddReviseSingleChangeColComReqDto reqDto) {


        //virtualUsage D2生成回退变更字段语义故事内容  37809
        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto = null;
        GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
        generateTimeCycleEtcSemanticInstanceComReqDto.setTemplateSemanticEngineCode("SUBJECT_CHANGE_CONT");//CUSTOM_CONVENTION//sourceId:856160_1_37809
        if (reqDto != null) {
            generateTimeCycleEtcSemanticInstanceComReqDto.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:856162_1_37809
            generateTimeCycleEtcSemanticInstanceComReqDto.setReviseBehaviorName(reqDto.getObjectPropertyName());//SimpleFieldAssign//sourceId:856163_1_37809
            generateTimeCycleEtcSemanticInstanceComReqDto.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:856161_1_37809
        }

        /*D2生成回退变更字段语义故事内容[5030]   */
        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D3新增回退单字段变更记录(公共)-D2生成回退变更字段语义故事内容-模板引擎标识不能为空", false);
        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getReviseSubjectContent(), "D3新增回退单字段变更记录(公共)-D2生成回退变更字段语义故事内容-修订主体内容不能为空", false);
        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getReviseBehaviorName(), "D3新增回退单字段变更记录(公共)-D2生成回退变更字段语义故事内容-修订行为名称不能为空", false);
        Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getColumnContent(), "D3新增回退单字段变更记录(公共)-D2生成回退变更字段语义故事内容-变更后字段中文内容不能为空", false);
        generateTimeCycleEtcSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((reqDto != null && reqDto.getBatchCurrentStatus() != null && reqDto.getBatchCurrentStatus().equals("1") || reqDto != null && reqDto.getBatchCurrentStatus() != null && reqDto.getBatchCurrentStatus().equals("2")) && (reqDto != null && reqDto.getBatchCode() != null)) {
            //if((D3新增回退业务变更字段(公共).批次现状 等于 1 or D3新增回退业务变更字段(公共).批次现状 等于 2) and D3新增回退业务变更字段(公共).批次标识 值不等于空 )  37807

            String string = null;
            if (generateTimeCycleEtcSemanticInstanceComRespDto != null) {
                OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn = new OmsBasicInstanceChangeColumn();
                omsBasicInstanceChangeColumn.setIsInproperties("TRUE");//sourceId:856122_1_37808
                omsBasicInstanceChangeColumn.setSubjectUpdateStatus("REVISION");//sourceId:856121_1_37808
                omsBasicInstanceChangeColumn.setBatchStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:856117_1_37808
                omsBasicInstanceChangeColumn.setIsEditing("FALSE");//sourceId:856119_1_37808
                omsBasicInstanceChangeColumn.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:856120_1_37808
                if (reqDto != null) {
                    omsBasicInstanceChangeColumn.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:856104_1_37808
                    omsBasicInstanceChangeColumn.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:856105_1_37808
                    omsBasicInstanceChangeColumn.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:856113_1_37808
                    omsBasicInstanceChangeColumn.setObjectPropertyCode(reqDto.getObjectPropertyCode());//SimpleFieldAssign//sourceId:856106_1_37808
                    omsBasicInstanceChangeColumn.setMetaDataColumnContent(reqDto.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:856108_1_37808
                    omsBasicInstanceChangeColumn.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:856110_1_37808
                    omsBasicInstanceChangeColumn.setOriColumnContent(reqDto.getOriColumnContent());//SimpleFieldAssign//sourceId:856109_1_37808
                    omsBasicInstanceChangeColumn.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:856111_1_37808
                    omsBasicInstanceChangeColumn.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:856112_1_37808
                    omsBasicInstanceChangeColumn.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:856115_1_37808
                    omsBasicInstanceChangeColumn.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:856114_1_37808
                    omsBasicInstanceChangeColumn.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:856116_1_37808
                }
                if (generateTimeCycleEtcSemanticInstanceComRespDto != null) {
                    omsBasicInstanceChangeColumn.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:856107_1_37808
                }

                /*3-13-02新增业务应用变更字段[3892]   */
                Assert.isNull(omsBasicInstanceChangeColumn.getTableTypeCode(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getEntityId(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getEntityName(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyCode(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyName(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getMetaDataColumnContent(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getColumnContent(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getOriColumnContent(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getIsInproperties(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getSubjectTypeCode(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getSubjectChangeType(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getObjectTypeCode(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getObjectId(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getSubjectUpdateStatus(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getBatchCode(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-批次标识不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getBatchStartTime(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-批次开始时间不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getIsEditing(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-是否未来不能为空", false);
                Assert.isNull(omsBasicInstanceChangeColumn.getSubjectLifeCycle(), "D3新增回退单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空", false);
                string = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
        AddReviseSingleChangeColComRespDto retData = new AddReviseSingleChangeColComRespDto();


        return retData;
    }

    /**
     * D3新增回退操作变更记录(公共)[6349]
     * gen by moon at 5/22/2023, 9:01:15 PM
     */
    @Trace(operationName = "D3新增回退操作变更记录(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddRollbackOperateChangeColComRespDto addRollbackOperateChangeColCom(AddRollbackOperateChangeColComReqDto reqDto) {


        //virtualUsage 3-2-02查评价模板简称  37817
        OmsEvaluationTemplate omsEvaluationTemplate = null;
        QueryEvaTempDetailReq queryEvaTempDetailReq = new QueryEvaTempDetailReq();
        queryEvaTempDetailReq.setArchivngType("NOT_ARCHIVE");//sourceId:856576_1_37817
        queryEvaTempDetailReq.setIsArchive("FALSE");//sourceId:856577_1_37817
        if (reqDto != null) {
            queryEvaTempDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:856575_1_37817
        }

        /*3-2-02查评价模板简称[2316]   */
        Assert.isNull(queryEvaTempDetailReq.getEvaluationTemplateId(), "D3新增回退操作变更记录(公共)-3-2-02查评价模板简称-评价模板ID不能为空", false);
        Assert.isNull(queryEvaTempDetailReq.getArchivngType(), "D3新增回退操作变更记录(公共)-3-2-02查评价模板简称-存档类型不能为空", false);
        Assert.isNull(queryEvaTempDetailReq.getIsArchive(), "D3新增回退操作变更记录(公共)-3-2-02查评价模板简称-是否存档不能为空", false);
        omsEvaluationTemplate = mOmsEvaluationTemplateService.queryEvaTempDetail(queryEvaTempDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 3-3-09-03查评价模板批次设置  37814
        OmsEvaBatchRelatedSet omsEvaBatchRelatedSet = null;
        QueryPlanEvaBatchSetDetailReq queryPlanEvaBatchSetDetailReq = new QueryPlanEvaBatchSetDetailReq();
        if (reqDto != null) {
            queryPlanEvaBatchSetDetailReq.setBatchSetId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:856431_1_37814
        }

        /*3-3-09-03查评价模板批次设置[2998]   */
        Assert.isNull(queryPlanEvaBatchSetDetailReq.getBatchSetId(), "D3新增回退操作变更记录(公共)-3-3-09-03查评价模板批次设置-批次设置对象ID不能为空", false);
        omsEvaBatchRelatedSet = mOmsEvaBatchRelatedSetService.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage D3新增回退单字段变更记录(公共)  37815
        AddReviseSingleChangeColComRespDto addReviseSingleChangeColComRespDto = null;
        if (omsEvaBatchRelatedSet != null && omsEvaluationTemplate != null) {
            AddReviseSingleChangeColComReqDto addReviseSingleChangeColComReqDto = new AddReviseSingleChangeColComReqDto();
            addReviseSingleChangeColComReqDto.setTableTypeCode("OMS_EVA_BATCH_RELATED_SET");//sourceId:856199_1_37815
            addReviseSingleChangeColComReqDto.setEntityName("batchRelatedSetId");//CUSTOM_CONVENTION//sourceId:856200_1_37815
            addReviseSingleChangeColComReqDto.setObjectPropertyCode("mgtType");//CUSTOM_CONVENTION//sourceId:856202_1_37815
            addReviseSingleChangeColComReqDto.setObjectPropertyName("发起回退");//CUSTOM_CONVENTION//sourceId:856211_1_37815
            addReviseSingleChangeColComReqDto.setMetaDataColumnContent("ROLLBACK_ADJUST");//CUSTOM_CONVENTION//sourceId:856203_1_37815
            addReviseSingleChangeColComReqDto.setOriColumnContent("正常操作流程");//CUSTOM_CONVENTION//sourceId:856205_1_37815
            addReviseSingleChangeColComReqDto.setColumnContent("回退操作流程");//CUSTOM_CONVENTION//sourceId:856204_1_37815
            addReviseSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:856206_1_37815
            addReviseSingleChangeColComReqDto.setSubjectChangeType("INITIATE_ROLL_BACK");//CUSTOM_CONVENTION//sourceId:856207_1_37815
            if (omsEvaBatchRelatedSet != null) {
                addReviseSingleChangeColComReqDto.setEntityId(omsEvaBatchRelatedSet.getBatchRelatedSetId());//SimpleFieldAssign//sourceId:856201_1_37815
            }
            if (reqDto != null) {
                addReviseSingleChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:856208_1_37815
                addReviseSingleChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:856209_1_37815
                addReviseSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:856197_1_37815
                addReviseSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:856198_1_37815
            }
            if (omsEvaluationTemplate != null) {
                addReviseSingleChangeColComReqDto.setReviseSubjectContent(omsEvaluationTemplate.getEvaluationTempShortName());//SimpleFieldAssign//sourceId:856210_1_37815
            }

            /*D3新增回退单字段变更记录(公共)[6348]   */
            Assert.isNull(addReviseSingleChangeColComReqDto.getTableTypeCode(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-内容表类型编码不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getEntityName(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-内容表主键字段英文名不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getEntityId(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-内容表主键ID不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getObjectPropertyCode(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-变更字段英文名不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getObjectPropertyName(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-变更字段行为日志名称不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getMetaDataColumnContent(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-变更字段原始值不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getOriColumnContent(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-变更前字段中文内容不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getColumnContent(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-变更后字段中文内容不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getSubjectTypeCode(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-主体类型编码不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getSubjectChangeType(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-主体变更日志类型不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getObjectTypeCode(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-归属对象类型编码不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getObjectId(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-归属对象内容ID不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getReviseSubjectContent(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-修订主体内容不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getBatchCode(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-批次标识不能为空", false);
            Assert.isNull(addReviseSingleChangeColComReqDto.getBatchCurrentStatus(), "D3新增回退操作变更记录(公共)-D3新增回退单字段变更记录(公共)-批次现状不能为空", false);
            addReviseSingleChangeColComRespDto = addReviseSingleChangeColCom(addReviseSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;


        }
        AddRollbackOperateChangeColComRespDto retData = new AddRollbackOperateChangeColComRespDto();


        return retData;
    }

    /**
     * D3批量删目标内容变更字段等(公共)[7079]
     * gen by moon at 6/1/2023, 2:42:56 AM
     */
    @Trace(operationName = "D3批量删目标内容变更字段等(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchDeleteTargetContChangeRecordEtcComRespDto batchDeleteTargetContChangeRecordEtcCom(BatchDeleteTargetContChangeRecordEtcComReqDto reqDto) {


        //步骤0: 3-13-02批量查询业务应用变更字段by内容表主键ID - batchQueryBizAppChangeCol
        List<OmsBasicInstanceChangeColumn> listOmsBasicInstanceChangeColumn = new ArrayList<>();
        BatchQueryBizAppChangeColReq batchQueryBizAppChangeColReq = new BatchQueryBizAppChangeColReq();
        if (reqDto != null) {
            batchQueryBizAppChangeColReq.setBizAppChangeColList(reqDto.getBizAppMainTableChangeColList());//list-field-assign//sourceId:1001003_1
            batchQueryBizAppChangeColReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:1001024_1
        }

        /*3-13-02批量查询业务应用变更字段by内容表主键ID[5213]   */
        Assert.isNull(batchQueryBizAppChangeColReq.getObjectId(), "D3批量删目标内容变更字段等(公共)-3-13-02批量查询业务应用变更字段by内容表主键ID-归属对象内容ID不能为空", false);
        listOmsBasicInstanceChangeColumn = mOmsBasicInstanceChangeColumnService.batchQueryBizAppChangeCol(batchQueryBizAppChangeColReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 3-13-02批量删业务应用变更字段 - batchDeleteBizAppChangeCol
        boolean bOOLEAN;
        if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn.size() > 0) {
            List<String> listString = new ArrayList<>();
            if (listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn) && listOmsBasicInstanceChangeColumn != null && !CollectionUtil.isEmpty(listOmsBasicInstanceChangeColumn)) {
                listString = listOmsBasicInstanceChangeColumn.stream().map(item -> item.getChangeColumnId())
                        .collect(Collectors.toList());/*list-to-strings*///sourceId:1000941_1
            }

            /*3-13-02批量删业务应用变更字段[3614]   */

            bOOLEAN = mOmsBasicInstanceChangeColumnService.batchDeleteBizAppChangeCol(listString)/*vcase invoke 本地 method 方法调用;*/;


        }

        BatchDeleteTargetContChangeRecordEtcComRespDto retData = new BatchDeleteTargetContChangeRecordEtcComRespDto();


        return retData;
    }

    //
}
